Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001299/0.001299, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0005811/0.1365, allocations: 213.2 kB / 471.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1393, allocations: 1.895 MB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.1393, allocations: 3.938 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.1393, allocations: 4 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.1393, allocations: 0 / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.1402, allocations: 279.3 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.585e-05/0.1403, allocations: 3.984 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.1403, allocations: 4 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.1404, allocations: 0 / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.1444, allocations: 2.412 MB / 476.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1445, allocations: 4 kB / 476.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.1446, allocations: 11.92 kB / 476.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.1446, allocations: 3.984 kB / 476.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.1446, allocations: 25.7 kB / 476.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.475e-05/0.1447, allocations: 8 kB / 476.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1447, allocations: 0 / 476.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1447, allocations: 0 / 476.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1447, allocations: 0 / 476.4 MB, free: 8.82 MB / 350.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.000299/0.145, allocations: 315.4 kB / 476.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.1451, allocations: 12.02 kB / 476.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.1453, allocations: 91.22 kB / 476.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.1455, allocations: 242.3 kB / 477.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.1456, allocations: 154.5 kB / 477.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.1456, allocations: 150.6 kB / 477.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.774e-05/0.1457, allocations: 101 kB / 477.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.1457, allocations: 79.28 kB / 477.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.1458, allocations: 154.6 kB / 477.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.1459, allocations: 150.6 kB / 477.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.146, allocations: 158.5 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1463, allocations: 441.9 kB / 478.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.1463, allocations: 173.1 kB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.1464, allocations: 80.14 kB / 478.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1464, allocations: 75.28 kB / 478.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.1465, allocations: 113.8 kB / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1465, allocations: 0 / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.846e-05/0.1465, allocations: 33.64 kB / 478.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.1466, allocations: 178.1 kB / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.1468, allocations: 97.86 kB / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1468, allocations: 25.7 kB / 479.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.1468, allocations: 80.14 kB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.1468, allocations: 0 / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.1468, allocations: 0 / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1469, allocations: 318.9 kB / 479.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.147, allocations: 0 / 479.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.147, allocations: 21.64 kB / 479.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.147, allocations: 79.22 kB / 479.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.939e-05/0.1471, allocations: 79.22 kB / 479.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.313e-05/0.1471, allocations: 33.75 kB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.1472, allocations: 79.28 kB / 479.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/0.1472, allocations: 83.31 kB / 480 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.169e-05/0.1473, allocations: 158.5 kB / 480.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.18e-05/0.1473, allocations: 75.28 kB / 480.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.508e-05/0.1474, allocations: 154.5 kB / 480.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1475, allocations: 83.27 kB / 480.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1476, allocations: 75.28 kB / 480.5 MB, free: 4.508 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.1477, allocations: 268.9 kB / 480.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.1478, allocations: 112.9 kB / 480.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.148, allocations: 104.1 kB / 481 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002175/0.1482, allocations: 184.2 kB / 481.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-05/0.1482, allocations: 180.3 kB / 481.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.777e-05/0.1483, allocations: 180.3 kB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1485, allocations: 405.1 kB / 481.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.1486, allocations: 105 kB / 482 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.1486, allocations: 108.9 kB / 482.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-05/0.1487, allocations: 176.3 kB / 482.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.1487, allocations: 176.3 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6e-05/0.1488, allocations: 192.2 kB / 482.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-05/0.1489, allocations: 184.2 kB / 482.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.149, allocations: 303.7 kB / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.1491, allocations: 182.1 kB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.1492, allocations: 188.2 kB / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1493, allocations: 109 kB / 483.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.1495, allocations: 180.6 kB / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.1496, allocations: 101 kB / 483.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.673e-05/0.1497, allocations: 75.28 kB / 483.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1497, allocations: 4 kB / 483.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.15, allocations: 0 / 483.9 MB, free: 0.8398 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.1501, allocations: 170.6 kB / 484.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.308e-05/0.1501, allocations: 4 kB / 484.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1502, allocations: 3.938 kB / 484.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.1502, allocations: 4 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1506, allocations: 0.5263 MB / 484.6 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.1508, allocations: 154 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.151, allocations: 0.6692 MB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.09e-05/0.1511, allocations: 7.938 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-06/0.1511, allocations: 7.438 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1511, allocations: 0 / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Templates: time 0.002415/0.1535, allocations: 275.5 kB / 485.7 MB, free: 14.96 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches