Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock")
translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 43.92 kB / 370.9 MB, free: 9.391 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2735, allocations: 52.18 MB / 423.1 MB, free: 14.72 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002822/0.2764, allocations: 1.538 MB / 424.6 MB, free: 13.17 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009127/0.2773, allocations: 0.5141 MB / 425.1 MB, free: 12.65 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.2773, allocations: 0 / 425.1 MB, free: 12.65 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.2774, allocations: 27.86 kB / 425.2 MB, free: 12.62 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.2775, allocations: 3.938 kB / 425.2 MB, free: 12.62 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2777, allocations: 35.91 kB / 425.2 MB, free: 12.59 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2778, allocations: 51.84 kB / 425.2 MB, free: 12.54 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.2779, allocations: 23.97 kB / 425.3 MB, free: 12.51 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.278, allocations: 27.86 kB / 425.3 MB, free: 12.48 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.2781, allocations: 31.91 kB / 425.3 MB, free: 12.45 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2781, allocations: 4 kB / 425.3 MB, free: 12.45 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.2781, allocations: 19.94 kB / 425.4 MB, free: 12.43 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.2782, allocations: 15.92 kB / 425.4 MB, free: 12.41 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.2782, allocations: 27.86 kB / 425.4 MB, free: 12.39 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.2784, allocations: 72.98 kB / 425.5 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2784, allocations: 0 / 425.5 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.2784, allocations: 0 / 425.5 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.192e-06/0.2784, allocations: 0 / 425.5 MB, free: 12.32 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0006596/0.279, allocations: 306.1 kB / 425.8 MB, free: 11.99 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2791, allocations: 8.031 kB / 425.8 MB, free: 11.98 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.2791, allocations: 12.89 kB / 425.8 MB, free: 11.97 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2792, allocations: 118.4 kB / 425.9 MB, free: 11.83 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2793, allocations: 4.375 kB / 425.9 MB, free: 11.83 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2793, allocations: 4.375 kB / 425.9 MB, free: 11.82 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2796, allocations: 89.94 kB / 426 MB, free: 11.73 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2796, allocations: 0 / 426 MB, free: 11.73 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2796, allocations: 4 kB / 426 MB, free: 11.73 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2796, allocations: 3.938 kB / 426 MB, free: 11.72 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.2799, allocations: 83.86 kB / 426.1 MB, free: 11.64 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.2804, allocations: 271.8 kB / 426.4 MB, free: 11.33 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.2807, allocations: 70.56 kB / 426.4 MB, free: 11.25 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.2809, allocations: 48.94 kB / 426.5 MB, free: 11.2 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.2809, allocations: 0 / 426.5 MB, free: 11.2 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2809, allocations: 34.56 kB / 426.5 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2809, allocations: 0 / 426.5 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0006771/0.2816, allocations: 149.6 kB / 426.6 MB, free: 11.01 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.2817, allocations: 63.28 kB / 426.7 MB, free: 10.93 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2818, allocations: 109.8 kB / 426.8 MB, free: 10.82 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2818, allocations: 29.7 kB / 426.8 MB, free: 10.78 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2819, allocations: 88.08 kB / 426.9 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.2819, allocations: 27.83 kB / 427 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.282, allocations: 21.72 kB / 427 MB, free: 10.64 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001581/0.2821, allocations: 314.8 kB / 427.3 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2823, allocations: 39.95 kB / 427.3 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.2824, allocations: 35.95 kB / 427.4 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.2828, allocations: 80.8 kB / 427.4 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2828, allocations: 0 / 427.4 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003704/0.2831, allocations: 113.9 kB / 427.6 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2831, allocations: 7.438 kB / 427.6 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2831, allocations: 4 kB / 427.6 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2832, allocations: 64 / 427.6 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.2833, allocations: 27.98 kB / 427.6 MB, free: 10.01 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2833, allocations: 0 / 427.6 MB, free: 10.01 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.2834, allocations: 15.97 kB / 427.6 MB, free: 9.996 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.2834, allocations: 0 / 427.6 MB, free: 9.996 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * 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 (5):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.2835, allocations: 117.8 kB / 427.7 MB, free: 9.871 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.2836, allocations: 3.953 kB / 427.7 MB, free: 9.867 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.284, allocations: 145.5 kB / 427.9 MB, free: 9.715 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.284, allocations: 4 kB / 427.9 MB, free: 9.711 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.284, allocations: 384 / 427.9 MB, free: 9.711 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.284, allocations: 0 / 427.9 MB, free: 9.711 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.2842, allocations: 152.7 kB / 428 MB, free: 9.52 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2842, allocations: 4 kB / 428 MB, free: 9.516 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.2844, allocations: 23.91 kB / 428 MB, free: 9.492 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2844, allocations: 4 kB / 428.1 MB, free: 9.488 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2844, allocations: 4 kB / 428.1 MB, free: 9.484 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2844, allocations: 0 / 428.1 MB, free: 9.484 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2844, allocations: 0 / 428.1 MB, free: 9.484 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.2848, allocations: 223.3 kB / 428.3 MB, free: 9.25 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.2849, allocations: 15.94 kB / 428.3 MB, free: 9.234 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2849, allocations: 4 kB / 428.3 MB, free: 9.23 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.285, allocations: 19.92 kB / 428.3 MB, free: 9.211 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.285, allocations: 7.984 kB / 428.3 MB, free: 9.203 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.285, allocations: 0 / 428.3 MB, free: 9.203 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.203e-05/0.2851, allocations: 91.27 kB / 428.4 MB, free: 9.113 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.2851, allocations: 0 / 428.4 MB, free: 9.113 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002293/0.2853, allocations: 11.94 kB / 428.4 MB, free: 9.102 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (7):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.2855, allocations: 103.2 kB / 428.5 MB, free: 8.992 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005277/0.286, allocations: 79.92 kB / 428.6 MB, free: 8.914 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.286, allocations: 0 / 428.6 MB, free: 8.914 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.2862, allocations: 55.89 kB / 428.7 MB, free: 8.859 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2865, allocations: 4 kB / 428.7 MB, free: 8.855 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.2869, allocations: 162.2 kB / 428.8 MB, free: 8.672 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2873, allocations: 0.6883 MB / 429.5 MB, free: 7.957 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.282e-05/0.2873, allocations: 4 kB / 429.5 MB, free: 7.953 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.2874, allocations: 19.44 kB / 429.5 MB, free: 7.934 MB / 334.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.2874, allocations: 0 / 429.5 MB, free: 7.934 MB / 334.1 MB
Notification: Performance of Templates: time 0.003816/0.2912, allocations: 0.948 MB / 430.5 MB, free: 6.992 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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: 4.554788326844573]