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.001335/0.001335, allocations: 103.3 kB / 18.4 MB, free: 4.57 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.001578/0.001578, allocations: 192 kB / 19.34 MB, free: 3.641 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.447/1.447, allocations: 222.9 MB / 243 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.48 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001768/0.1187, allocations: 482.9 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.1214, allocations: 2.006 MB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.1214, allocations: 0 / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.046e-05/0.1214, allocations: 4 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.955e-05/0.1215, allocations: 3.938 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009645/0.1224, allocations: 382 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.1225, allocations: 3.984 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.1225, allocations: 4 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.25e-05/0.1226, allocations: 0 / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01627/0.1388, allocations: 3.348 MB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1389, allocations: 0 / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.139, allocations: 4 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.139, allocations: 3.938 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.139, allocations: 3.984 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1392, allocations: 11.98 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1392, allocations: 7.938 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1392, allocations: 3.938 kB / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1392, allocations: 4 kB / 477 MB, free: 8.027 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.0003367/0.1396, allocations: 315.5 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.1396, allocations: 8.031 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.1399, allocations: 92.2 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.14, allocations: 235.7 kB / 477.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.1401, allocations: 150.9 kB / 477.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.1402, allocations: 158.7 kB / 477.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.839e-05/0.1402, allocations: 101 kB / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.1403, allocations: 75.28 kB / 478.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.1403, allocations: 158.5 kB / 478.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.1404, allocations: 150.6 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.1405, allocations: 158.5 kB / 478.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.1407, allocations: 442 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/0.1408, allocations: 165.1 kB / 479.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.1409, allocations: 88.12 kB / 479.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.1409, allocations: 83.28 kB / 479.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.179e-05/0.141, allocations: 113.8 kB / 479.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.141, allocations: 0 / 479.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.32e-05/0.1411, allocations: 29.69 kB / 479.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.1412, allocations: 182.1 kB / 479.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.1413, allocations: 89.86 kB / 479.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1413, allocations: 29.64 kB / 479.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.1414, allocations: 84.27 kB / 479.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-06/0.1414, allocations: 0 / 479.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.1414, allocations: 17.72 kB / 479.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.1415, allocations: 310.8 kB / 480.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-06/0.1415, allocations: 4 kB / 480.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.1415, allocations: 13.72 kB / 480.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/0.1416, allocations: 75.28 kB / 480.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.641e-05/0.1416, allocations: 87.23 kB / 480.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.465e-05/0.1417, allocations: 33.64 kB / 480.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.1417, allocations: 82.09 kB / 480.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/0.1418, allocations: 75.28 kB / 480.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.762e-05/0.1418, allocations: 158.5 kB / 480.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.152e-05/0.1419, allocations: 79.28 kB / 480.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.201e-05/0.1419, allocations: 154.5 kB / 480.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.142, allocations: 79.28 kB / 480.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.1421, allocations: 83.27 kB / 481 MB, free: 3.699 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.1422, allocations: 256.4 kB / 481.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.1423, allocations: 112.9 kB / 481.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.1423, allocations: 112 kB / 481.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.867e-05/0.1424, allocations: 184.2 kB / 481.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001266/0.1426, allocations: 180.2 kB / 481.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-05/0.1426, allocations: 180.3 kB / 482 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1429, allocations: 405.1 kB / 482.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/0.143, allocations: 109 kB / 482.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.143, allocations: 104.9 kB / 482.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.055e-05/0.1431, allocations: 188.2 kB / 482.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/0.1431, allocations: 176.3 kB / 483 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.095e-05/0.1432, allocations: 180.2 kB / 483.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.339e-05/0.1433, allocations: 176.6 kB / 483.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.1434, allocations: 315.7 kB / 483.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.1435, allocations: 186.1 kB / 483.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.1436, allocations: 180.2 kB / 484 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1437, allocations: 113 kB / 484.1 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.1438, allocations: 180.2 kB / 484.3 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.1438, allocations: 105 kB / 484.4 MB, free: 108 kB / 350.1 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.1439, allocations: 79.22 kB / 484.5 MB, free: 28 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1439, allocations: 0 / 484.5 MB, free: 28 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1442, allocations: 4 kB / 484.5 MB, free: 24 kB / 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 (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.0001417/0.1444, allocations: 166.5 kB / 484.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.719e-05/0.1444, allocations: 3.938 kB / 484.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1444, allocations: 0 / 484.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.1444, allocations: 4.094 kB / 484.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1448, allocations: 467.6 kB / 485.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.145, allocations: 152.1 kB / 485.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.1453, allocations: 0.669 MB / 485.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.216e-05/0.1453, allocations: 0 / 485.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.1453, allocations: 7.438 kB / 485.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1453, allocations: 4 kB / 485.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Templates: time 0.002301/0.1476, allocations: 308.4 kB / 486.2 MB, free: 14.2 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches