Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.00137/0.00137, allocations: 79.73 kB / 20.52 MB, free: 1.281 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.001691/0.001691, allocations: 167.3 kB / 23.76 MB, free: 4.473 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.488/1.488, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2128/0.2128, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [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.002255/0.002255, allocations: 71.89 kB / 407.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1216, allocations: 61.04 MB / 468.8 MB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00176/0.1233, allocations: 498.8 kB / 469.3 MB, free: 7.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.1264, allocations: 1.991 MB / 471.3 MB, free: 5.832 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.47e-05/0.1264, allocations: 0 / 471.3 MB, free: 5.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.1264, allocations: 0 / 471.3 MB, free: 5.832 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.429e-05/0.1265, allocations: 0 / 471.3 MB, free: 5.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1275, allocations: 382.8 kB / 471.6 MB, free: 5.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.524e-05/0.1275, allocations: 0 / 471.6 MB, free: 5.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1276, allocations: 8 kB / 471.6 MB, free: 5.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.1276, allocations: 3.938 kB / 471.6 MB, free: 5.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02063/0.1482, allocations: 3.382 MB / 475 MB, free: 2.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1482, allocations: 0 / 475 MB, free: 2.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1483, allocations: 4 kB / 475 MB, free: 2.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.1483, allocations: 8 kB / 475 MB, free: 2.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.1484, allocations: 0 / 475 MB, free: 2.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1485, allocations: 8 kB / 475 MB, free: 2.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1485, allocations: 0 / 475 MB, free: 2.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1485, allocations: 0 / 475 MB, free: 2.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1485, allocations: 0 / 475 MB, free: 2.051 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003541/0.1489, allocations: 246.3 kB / 475.3 MB, free: 1.781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1489, allocations: 8.031 kB / 475.3 MB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.1492, allocations: 92.2 kB / 475.4 MB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1494, allocations: 181.8 kB / 475.6 MB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/0.1495, allocations: 158.9 kB / 475.7 MB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.1496, allocations: 158.7 kB / 475.9 MB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1497, allocations: 104.9 kB / 476 MB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.1498, allocations: 75.28 kB / 476 MB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.15, allocations: 150.6 kB / 476.2 MB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.301e-05/0.1501, allocations: 150.6 kB / 476.3 MB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.251e-05/0.1501, allocations: 154.6 kB / 476.5 MB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.1505, allocations: 397.6 kB / 476.9 MB, free: 120 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2327/0.3832, allocations: 173.1 kB / 477 MB, free: 51.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.3832, allocations: 80.14 kB / 477.1 MB, free: 51.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3833, allocations: 76.22 kB / 477.2 MB, free: 51.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.3833, allocations: 111.4 kB / 477.3 MB, free: 51.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.3833, allocations: 0 / 477.3 MB, free: 51.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.3834, allocations: 32.42 kB / 477.3 MB, free: 51.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.3835, allocations: 179.4 kB / 477.5 MB, free: 50.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3836, allocations: 92.64 kB / 477.6 MB, free: 50.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.3836, allocations: 27.14 kB / 477.6 MB, free: 50.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/0.3836, allocations: 84.2 kB / 477.7 MB, free: 50.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.3836, allocations: 0 / 477.7 MB, free: 50.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.3836, allocations: 14.97 kB / 477.7 MB, free: 50.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.3837, allocations: 313.1 kB / 478 MB, free: 50.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.3837, allocations: 0.625 kB / 478 MB, free: 50.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.3837, allocations: 67.38 kB / 478.1 MB, free: 50.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.454e-05/0.3838, allocations: 79.78 kB / 478.2 MB, free: 50.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/0.3838, allocations: 76.34 kB / 478.3 MB, free: 50.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.955e-05/0.3838, allocations: 32.92 kB / 478.3 MB, free: 50.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3839, allocations: 80.56 kB / 478.4 MB, free: 49.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3839, allocations: 79.31 kB / 478.4 MB, free: 49.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.3839, allocations: 158.6 kB / 478.6 MB, free: 49.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-06/0.3839, allocations: 79.03 kB / 478.7 MB, free: 49.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.3839, allocations: 155.6 kB / 478.8 MB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.384, allocations: 83.5 kB / 478.9 MB, free: 49.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.384, allocations: 79.84 kB / 479 MB, free: 49.34 MB / 446.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 (0): * Single equations (assignments): 0 * 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 5.341e-05/0.3841, allocations: 265.9 kB / 479.2 MB, free: 49.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.3841, allocations: 109.9 kB / 479.3 MB, free: 48.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.3842, allocations: 106.8 kB / 479.5 MB, free: 48.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.3842, allocations: 183.1 kB / 479.6 MB, free: 48.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.3842, allocations: 179.4 kB / 479.8 MB, free: 48.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.3842, allocations: 178.9 kB / 480 MB, free: 48.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.3843, allocations: 360.9 kB / 480.3 MB, free: 47.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.3844, allocations: 106.4 kB / 480.4 MB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.3844, allocations: 107.4 kB / 480.5 MB, free: 47.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/0.3844, allocations: 183.8 kB / 480.7 MB, free: 47.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3844, allocations: 184.7 kB / 480.9 MB, free: 47.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-05/0.3844, allocations: 180.1 kB / 481.1 MB, free: 47.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-05/0.3845, allocations: 177.1 kB / 481.3 MB, free: 47.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.502e-05/0.3845, allocations: 314.7 kB / 481.6 MB, free: 46.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.3846, allocations: 105.9 kB / 481.7 MB, free: 46.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3846, allocations: 181.7 kB / 481.8 MB, free: 46.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.3847, allocations: 108.8 kB / 481.9 MB, free: 46.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.3847, allocations: 184.2 kB / 482.1 MB, free: 46.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3847, allocations: 101.6 kB / 482.2 MB, free: 46.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.66e-05/0.3847, allocations: 78.91 kB / 482.3 MB, free: 45.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3847, allocations: 0 / 482.3 MB, free: 45.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.385, allocations: 0.625 kB / 482.3 MB, free: 45.95 MB / 446.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 (0): * Single equations (assignments): 0 * 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 6.923e-05/0.3851, allocations: 165.9 kB / 482.5 MB, free: 45.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.616e-05/0.3851, allocations: 14.81 kB / 482.5 MB, free: 45.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3851, allocations: 0 / 482.5 MB, free: 45.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.3851, allocations: 3.375 kB / 482.5 MB, free: 45.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3854, allocations: 464.9 kB / 482.9 MB, free: 45.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001378/0.3855, allocations: 151.5 kB / 483.1 MB, free: 45.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.3855, allocations: 51.36 kB / 483.1 MB, free: 45.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.3855, allocations: 7.562 kB / 483.1 MB, free: 45.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.3856, allocations: 12.09 kB / 483.2 MB, free: 45.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3856, allocations: 0 / 483.2 MB, free: 45.09 MB / 446.1 MB Notification: Performance of Templates: time 0.002722/0.3883, allocations: 345 kB / 483.5 MB, free: 45.05 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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: 5.118377735954709]