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.001072/0.001072, allocations: 111.6 kB / 17.04 MB, free: 5.812 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.001006/0.001006, 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.435/1.435, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.198/0.198, allocations: 43.52 MB / 314.7 MB, free: 480 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.00146/0.00146, allocations: 69.03 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1134, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001682/0.1151, allocations: 493.1 kB / 442.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.1176, allocations: 2.04 MB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.1176, allocations: 0 / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.1176, allocations: 3.938 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.345e-05/0.1177, allocations: 0 / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008556/0.1185, allocations: 370.8 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.669e-05/0.1186, allocations: 0 / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.1186, allocations: 4 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.346e-05/0.1186, allocations: 4 kB / 444.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01422/0.1329, allocations: 3.375 MB / 448.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1329, allocations: 0 / 448.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.133, allocations: 11.94 kB / 448.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.133, allocations: 3.938 kB / 448.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.133, allocations: 0 / 448.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1332, allocations: 11.97 kB / 448.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1332, allocations: 4 kB / 448.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1332, allocations: 0 / 448.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1332, allocations: 0 / 448.3 MB, free: 15.94 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.0003564/0.1336, allocations: 323.5 kB / 448.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1336, allocations: 11.89 kB / 448.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.1338, allocations: 88.16 kB / 448.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.134, allocations: 239.7 kB / 448.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.1341, allocations: 154.9 kB / 449.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.1341, allocations: 154.7 kB / 449.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.469e-05/0.1342, allocations: 105 kB / 449.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.1342, allocations: 75.28 kB / 449.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.1343, allocations: 154.5 kB / 449.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/0.1344, allocations: 158.5 kB / 449.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.1344, allocations: 154.6 kB / 449.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.1347, allocations: 442 kB / 450.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.1348, allocations: 165.1 kB / 450.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.1349, allocations: 84.08 kB / 450.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.1349, allocations: 87.25 kB / 450.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.135, allocations: 113.8 kB / 450.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.135, allocations: 0 / 450.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.786e-05/0.135, allocations: 25.7 kB / 450.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1352, allocations: 182.1 kB / 450.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.1353, allocations: 93.95 kB / 451 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1353, allocations: 29.73 kB / 451 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.1353, allocations: 80.14 kB / 451.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.1353, allocations: 0 / 451.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.1353, allocations: 13.72 kB / 451.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1355, allocations: 314.8 kB / 451.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.1355, allocations: 0 / 451.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.1355, allocations: 17.66 kB / 451.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.1356, allocations: 83.31 kB / 451.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.512e-05/0.1356, allocations: 75.28 kB / 451.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.737e-05/0.1357, allocations: 29.64 kB / 451.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.1357, allocations: 83.28 kB / 451.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.1358, allocations: 79.27 kB / 451.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.349e-05/0.1358, allocations: 158.5 kB / 452 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.607e-05/0.1359, allocations: 79.28 kB / 452 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-05/0.1359, allocations: 162.5 kB / 452.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.136, allocations: 75.28 kB / 452.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.136, allocations: 79.28 kB / 452.3 MB, free: 11.6 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.0001228/0.1362, allocations: 268.3 kB / 452.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.1362, allocations: 108.9 kB / 452.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.1363, allocations: 116.1 kB / 452.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.456e-05/0.1364, allocations: 180.2 kB / 453 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.63e-05/0.1364, allocations: 180.3 kB / 453.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-05/0.1365, allocations: 176.3 kB / 453.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.1367, allocations: 409.1 kB / 453.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.241e-05/0.1368, allocations: 101 kB / 453.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.1368, allocations: 108.9 kB / 454 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.528e-05/0.1369, allocations: 180.3 kB / 454.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.137, allocations: 188.2 kB / 454.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.585e-05/0.1371, allocations: 180.2 kB / 454.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.722e-05/0.1371, allocations: 180.3 kB / 454.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.1373, allocations: 315.6 kB / 455 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.1374, allocations: 190.4 kB / 455.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.1374, allocations: 176.3 kB / 455.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1375, allocations: 101 kB / 455.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.1376, allocations: 184.2 kB / 455.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.1377, allocations: 113 kB / 455.7 MB, free: 7.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.193e-05/0.1377, allocations: 75.28 kB / 455.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1377, allocations: 0 / 455.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.138, allocations: 4 kB / 455.8 MB, free: 7.918 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 0.0001145/0.1381, allocations: 170.5 kB / 456 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.813e-05/0.1381, allocations: 3.938 kB / 456 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1381, allocations: 4.094 kB / 456 MB, free: 7.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1382, allocations: 0 / 456 MB, free: 7.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1385, allocations: 459.6 kB / 456.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/0.1387, allocations: 148.4 kB / 456.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1389, allocations: 0.6729 MB / 457.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.303e-05/0.139, allocations: 0 / 457.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.139, allocations: 11.44 kB / 457.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.139, allocations: 0 / 457.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of Templates: time 0.0022/0.1412, allocations: 304.5 kB / 457.5 MB, free: 6.102 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 gbode -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