Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 74.77 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 62.45 MB / 481.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001623/0.1118, allocations: 482.8 kB / 481.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.1146, allocations: 2.135 MB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.1146, allocations: 4 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.1146, allocations: 0 / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.871e-05/0.1147, allocations: 3.938 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000978/0.1157, allocations: 398.8 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.661e-05/0.1157, allocations: 0 / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.1157, allocations: 3.984 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.1158, allocations: 7.984 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01499/0.1308, allocations: 3.346 MB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1308, allocations: 4 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.1309, allocations: 8 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.1309, allocations: 4 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1309, allocations: 3.984 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1311, allocations: 4 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1311, allocations: 0 / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1311, allocations: 0 / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1311, allocations: 0 / 487.8 MB, free: 14.75 MB / 366.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.0003024/0.1314, allocations: 323.5 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1315, allocations: 16.03 kB / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.1317, allocations: 84.2 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1318, allocations: 235.7 kB / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.1319, allocations: 154.9 kB / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.1319, allocations: 158.6 kB / 488.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.319e-05/0.132, allocations: 101 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.132, allocations: 83.22 kB / 489 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.1321, allocations: 154.6 kB / 489.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.1321, allocations: 154.5 kB / 489.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.125e-05/0.1322, allocations: 150.6 kB / 489.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.1325, allocations: 449.9 kB / 489.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.1326, allocations: 173.1 kB / 490 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1327, allocations: 88.02 kB / 490.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.1328, allocations: 75.28 kB / 490.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.1328, allocations: 109.8 kB / 490.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.1328, allocations: 0 / 490.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.251e-05/0.1329, allocations: 29.7 kB / 490.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.133, allocations: 178.1 kB / 490.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1331, allocations: 101.8 kB / 490.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1332, allocations: 25.7 kB / 490.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.1332, allocations: 80.14 kB / 490.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.1332, allocations: 0 / 490.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.1333, allocations: 13.72 kB / 490.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1334, allocations: 315 kB / 491 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-06/0.1334, allocations: 3.938 kB / 491 MB, free: 11.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.1334, allocations: 9.719 kB / 491 MB, free: 11.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.1335, allocations: 79.28 kB / 491.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.361e-05/0.1335, allocations: 75.28 kB / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.228e-05/0.1336, allocations: 37.62 kB / 491.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.1336, allocations: 83.28 kB / 491.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/0.1337, allocations: 83.25 kB / 491.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-05/0.1337, allocations: 150.6 kB / 491.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.757e-05/0.1338, allocations: 75.28 kB / 491.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001174/0.1339, allocations: 158.5 kB / 491.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.134, allocations: 83.33 kB / 491.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.134, allocations: 79.22 kB / 491.9 MB, free: 10.41 MB / 366.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.0001346/0.1342, allocations: 272.4 kB / 492.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.1342, allocations: 104.9 kB / 492.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1343, allocations: 104.1 kB / 492.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.527e-05/0.1344, allocations: 184.2 kB / 492.6 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.105e-05/0.1344, allocations: 176.3 kB / 492.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.107e-05/0.1345, allocations: 192.2 kB / 492.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.1348, allocations: 401.2 kB / 493.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/0.1348, allocations: 101 kB / 493.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.1349, allocations: 104.9 kB / 493.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.135, allocations: 180.5 kB / 493.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.1351, allocations: 196.1 kB / 493.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.85e-05/0.1351, allocations: 180.3 kB / 494.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.833e-05/0.1352, allocations: 180.3 kB / 494.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1354, allocations: 311.7 kB / 494.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.1355, allocations: 186 kB / 494.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1356, allocations: 184.3 kB / 494.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1357, allocations: 101 kB / 495 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1359, allocations: 184.2 kB / 495.2 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.1359, allocations: 105 kB / 495.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.82e-05/0.136, allocations: 75.28 kB / 495.4 MB, free: 6.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.136, allocations: 0 / 495.4 MB, free: 6.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.1363, allocations: 4.094 kB / 495.4 MB, free: 6.742 MB / 366.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.0001729/0.1365, allocations: 170.5 kB / 495.5 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.554e-05/0.1366, allocations: 7.938 kB / 495.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1366, allocations: 0 / 495.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1366, allocations: 0 / 495.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.137, allocations: 459.6 kB / 496 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.1374, allocations: 160.1 kB / 496.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1378, allocations: 0.669 MB / 496.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.1378, allocations: 0 / 496.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.1379, allocations: 11.44 kB / 496.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1379, allocations: 0 / 496.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of Templates: time 0.002887/0.1408, allocations: 303.8 kB / 497.1 MB, free: 4.922 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches