Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005945/0.005945, allocations: 111.2 kB / 21.97 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 206.5 kB / 25.27 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 207.6 MB / 236.1 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 51.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2542, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00309/0.2573, allocations: 2.482 MB / 399.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2583, allocations: 0.6915 MB / 400.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.2584, allocations: 3.094 kB / 400.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.2585, allocations: 32.98 kB / 400.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.2587, allocations: 77.22 kB / 400.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.2589, allocations: 82.47 kB / 400.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.2592, allocations: 275 kB / 400.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2593, allocations: 64.25 kB / 400.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.2595, allocations: 114 kB / 400.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.2596, allocations: 113.1 kB / 401.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.2597, allocations: 21.59 kB / 401.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.2597, allocations: 36.73 kB / 401.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.2598, allocations: 54.91 kB / 401.2 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.2599, allocations: 123.8 kB / 401.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.2602, allocations: 277.7 kB / 401.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2602, allocations: 1.344 kB / 401.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2602, allocations: 0 / 401.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2602, allocations: 0 / 401.6 MB, free: 6.145 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006641/0.2609, allocations: 467.6 kB / 402 MB, free: 5.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2609, allocations: 13.73 kB / 402 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.496e-05/0.2609, allocations: 12.69 kB / 402 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.261, allocations: 55.36 kB / 402.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.261, allocations: 25.88 kB / 402.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2613, allocations: 183 kB / 402.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.2613, allocations: 17.09 kB / 402.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.2613, allocations: 22.11 kB / 402.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.2617, allocations: 194.4 kB / 402.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2617, allocations: 0 / 402.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.2617, allocations: 6.312 kB / 402.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2618, allocations: 8.5 kB / 402.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.2621, allocations: 159.4 kB / 402.7 MB, free: 5.352 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.2633, allocations: 0.885 MB / 403.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.2636, allocations: 136.6 kB / 403.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2638, allocations: 87.55 kB / 403.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2638, allocations: 2.5 kB / 403.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2638, allocations: 40.17 kB / 403.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.2638, allocations: 1.125 kB / 403.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001175/0.265, allocations: 346.7 kB / 404.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.265, allocations: 57.59 kB / 404.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2651, allocations: 164.6 kB / 404.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2652, allocations: 31.86 kB / 404.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.2652, allocations: 148.5 kB / 404.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.2653, allocations: 62.05 kB / 404.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.2653, allocations: 32.83 kB / 404.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.2654, allocations: 331 kB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.2655, allocations: 48.11 kB / 405 MB, free: 3.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.2656, allocations: 73.81 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.2658, allocations: 127.4 kB / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2658, allocations: 0 / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003725/0.2662, allocations: 224.5 kB / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2662, allocations: 9.688 kB / 405.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2662, allocations: 4.031 kB / 405.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.2675, allocations: 212.2 kB / 405.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2676, allocations: 31.52 kB / 405.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003285/0.268, allocations: 0.6134 MB / 406.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.2681, allocations: 20.3 kB / 406.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2681, allocations: 8.344 kB / 406.4 MB, free: 2.754 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 9.329e-05/0.2682, allocations: 130.3 kB / 406.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.2682, allocations: 15.69 kB / 406.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.2686, allocations: 225.5 kB / 406.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2687, allocations: 7.188 kB / 406.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2687, allocations: 3.938 kB / 406.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.2687, allocations: 4.688 kB / 406.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000801/0.2695, allocations: 0.5572 MB / 407.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2695, allocations: 0.9062 kB / 407.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2696, allocations: 34.88 kB / 407.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.2706, allocations: 201.3 kB / 407.5 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.2706, allocations: 6.078 kB / 407.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003111/0.2709, allocations: 0.6185 MB / 408.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2709, allocations: 1.375 kB / 408.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.2717, allocations: 419.7 kB / 408.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.2717, allocations: 22.2 kB / 408.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.2717, allocations: 9.891 kB / 408.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.2718, allocations: 14.72 kB / 408.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.2719, allocations: 15.69 kB / 408.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.2719, allocations: 8.281 kB / 408.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.057e-05/0.272, allocations: 127.7 kB / 408.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.272, allocations: 1.562 kB / 408.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.2723, allocations: 58.78 kB / 408.8 MB, free: 1.082 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008816/0.2732, allocations: 0.953 MB / 409.8 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.2735, allocations: 143.8 kB / 409.9 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2735, allocations: 0 / 409.9 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2737, allocations: 85.67 kB / 410 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.274, allocations: 30.17 kB / 410 MB, free: 216 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.277, allocations: 2.317 MB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.2774, allocations: 0.7367 MB / 413.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.107e-05/0.2774, allocations: 15.38 kB / 413.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.2775, allocations: 55.31 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2775, allocations: 0 / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.306, allocations: 4.936 MB / 418.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.37, allocations: 6.406 kB / 418.1 MB, free: 11.37 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.859833722992335]