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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001302, allocations: 111.6 kB / 17.04 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 69.2 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.0921, allocations: 57.8 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002423/0.09456, allocations: 485.1 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.09763, allocations: 2.036 MB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.09768, allocations: 0 / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.09771, allocations: 4 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.288e-05/0.09778, allocations: 0 / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.09896, allocations: 366.8 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.492e-05/0.09902, allocations: 7.938 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.09907, allocations: 7.969 kB / 444.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.0991, allocations: 8 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01408/0.1132, allocations: 3.372 MB / 448.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1132, allocations: 0 / 448.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.521e-05/0.1133, allocations: 8 kB / 448.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.1133, allocations: 8 kB / 448.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1134, allocations: 3.984 kB / 448.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.1135, allocations: 8 kB / 448.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1135, allocations: 0 / 448.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1135, allocations: 0 / 448.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1135, allocations: 0 / 448.3 MB, free: 15.95 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002887/0.1138, allocations: 315.5 kB / 448.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1139, allocations: 15.89 kB / 448.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1141, allocations: 92.14 kB / 448.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1142, allocations: 239.7 kB / 448.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.1142, allocations: 158.9 kB / 449.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.1143, allocations: 154.7 kB / 449.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.524e-05/0.1144, allocations: 104.9 kB / 449.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.1144, allocations: 75.28 kB / 449.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.1145, allocations: 154.6 kB / 449.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.1145, allocations: 150.6 kB / 449.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.1146, allocations: 150.6 kB / 449.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.1148, allocations: 449.9 kB / 450.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.1149, allocations: 173.1 kB / 450.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.115, allocations: 84.08 kB / 450.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.115, allocations: 75.28 kB / 450.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.115, allocations: 113.8 kB / 450.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.115, allocations: 0 / 450.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.015e-05/0.1151, allocations: 25.7 kB / 450.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.1152, allocations: 182.1 kB / 450.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1153, allocations: 93.84 kB / 451 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1153, allocations: 29.7 kB / 451 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.1154, allocations: 84.08 kB / 451.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.1154, allocations: 0 / 451.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1154, allocations: 13.72 kB / 451.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1156, allocations: 314.8 kB / 451.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-06/0.1156, allocations: 0 / 451.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.1156, allocations: 13.84 kB / 451.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.1156, allocations: 75.28 kB / 451.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-05/0.1157, allocations: 79.28 kB / 451.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.862e-05/0.1157, allocations: 33.62 kB / 451.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.1158, allocations: 83.28 kB / 451.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.1158, allocations: 79.22 kB / 451.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.463e-05/0.1159, allocations: 154.6 kB / 451.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-05/0.1159, allocations: 83.28 kB / 452 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/0.1161, allocations: 154.5 kB / 452.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.1162, allocations: 79.28 kB / 452.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.1162, allocations: 79.22 kB / 452.3 MB, free: 11.62 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 (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 0.000152/0.1164, allocations: 268.3 kB / 452.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.1164, allocations: 112.9 kB / 452.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.1165, allocations: 112 kB / 452.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-05/0.1166, allocations: 180.3 kB / 453 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-05/0.1166, allocations: 176.3 kB / 453.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/0.1167, allocations: 184.2 kB / 453.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.1169, allocations: 405.2 kB / 453.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/0.1169, allocations: 108.9 kB / 453.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.117, allocations: 105 kB / 453.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.472e-05/0.117, allocations: 180.2 kB / 454.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.1171, allocations: 184.2 kB / 454.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-05/0.1172, allocations: 180.3 kB / 454.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.989e-05/0.1172, allocations: 188.2 kB / 454.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.1174, allocations: 307.8 kB / 455 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1175, allocations: 186.4 kB / 455.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.1175, allocations: 180.3 kB / 455.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.1176, allocations: 112.9 kB / 455.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.1177, allocations: 180.3 kB / 455.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.1177, allocations: 109 kB / 455.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.292e-05/0.1178, allocations: 75.28 kB / 455.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1178, allocations: 3.938 kB / 455.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.118, allocations: 0 / 455.8 MB, free: 7.934 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 (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 9.815e-05/0.1181, allocations: 170.6 kB / 456 MB, free: 7.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.59e-05/0.1182, allocations: 4 kB / 456 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1182, allocations: 0 / 456 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1182, allocations: 0 / 456 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1186, allocations: 463.6 kB / 456.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.1188, allocations: 148.3 kB / 456.6 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.119, allocations: 0.6729 MB / 457.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.589e-05/0.1191, allocations: 0 / 457.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-06/0.1191, allocations: 15.38 kB / 457.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1191, allocations: 0 / 457.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of Templates: time 0.002264/0.1214, allocations: 296.6 kB / 457.5 MB, free: 6.121 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile (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 cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) 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) Reference file matches