Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002312/0.002311, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3054/0.3054, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006331/0.0006329, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1253, allocations: 58.85 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003473/0.1288, allocations: 1.576 MB / 491.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1312, allocations: 0.7656 MB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.1315, allocations: 0 / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.1319, allocations: 35.77 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.1322, allocations: 51.8 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.1327, allocations: 95.77 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1331, allocations: 87.77 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1332, allocations: 29.48 kB / 492.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.1334, allocations: 43.78 kB / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1335, allocations: 43.77 kB / 492.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.1335, allocations: 4 kB / 492.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1337, allocations: 27.94 kB / 493 MB, free: 6.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.1338, allocations: 19.91 kB / 493 MB, free: 6.551 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.1339, allocations: 45.64 kB / 493 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.1342, allocations: 100 kB / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1342, allocations: 0 / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1342, allocations: 4 kB / 493.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1342, allocations: 3.938 kB / 493.1 MB, free: 6.395 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008548/0.1351, allocations: 448.5 kB / 493.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1352, allocations: 19.95 kB / 493.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.1353, allocations: 23.77 kB / 493.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1356, allocations: 214.8 kB / 493.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1357, allocations: 0 / 493.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.1357, allocations: 15.94 kB / 493.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.1361, allocations: 103.9 kB / 494 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1361, allocations: 0 / 494 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1362, allocations: 8 kB / 494 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1362, allocations: 4 kB / 494 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.1365, allocations: 59.84 kB / 494 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.1373, allocations: 0.5049 MB / 494.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.1378, allocations: 90.59 kB / 494.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.1379, allocations: 7.953 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.1382, allocations: 87.31 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.316e-06/0.1382, allocations: 0 / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006395/0.1389, allocations: 149.7 kB / 494.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.139, allocations: 51.5 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1392, allocations: 195.4 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1393, allocations: 25.7 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1394, allocations: 178.4 kB / 495.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.1395, allocations: 23.66 kB / 495.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.1395, allocations: 4 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1396, allocations: 318.8 kB / 495.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1398, allocations: 27.98 kB / 495.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.14, allocations: 68.27 kB / 495.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.1402, allocations: 39.94 kB / 495.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1402, allocations: 0 / 495.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004555/0.1407, allocations: 137.4 kB / 495.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1407, allocations: 7.438 kB / 495.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1407, allocations: 0 / 495.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1408, allocations: 4 kB / 495.9 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.141, allocations: 23.98 kB / 495.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.141, allocations: 0 / 495.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1412, allocations: 24.05 kB / 496 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1412, allocations: 11.94 kB / 496 MB, free: 3.316 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001715/0.1414, allocations: 129.8 kB / 496.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.1414, allocations: 19.77 kB / 496.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.219e-05/0.1415, allocations: 17.39 kB / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1415, allocations: 0 / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1415, allocations: 0 / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1416, allocations: 0 / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.1418, allocations: 209.8 kB / 496.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.1418, allocations: 4 kB / 496.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.142, allocations: 15.98 kB / 496.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.142, allocations: 0 / 496.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.142, allocations: 7.953 kB / 496.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1421, allocations: 4 kB / 496.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1421, allocations: 96 / 496.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.1427, allocations: 188.8 kB / 496.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-05/0.1428, allocations: 100.8 kB / 496.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1429, allocations: 0 / 496.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.143, allocations: 19.94 kB / 496.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1431, allocations: 4 kB / 496.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.1431, allocations: 0 / 496.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.1433, allocations: 141.2 kB / 496.8 MB, free: 2.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1433, allocations: 4.062 kB / 496.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.1437, allocations: 27.98 kB / 496.8 MB, free: 2.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001267/0.145, allocations: 421.5 kB / 497.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.1454, allocations: 75.91 kB / 497.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.1455, allocations: 256 / 497.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.1457, allocations: 47.91 kB / 497.4 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.1461, allocations: 27.78 kB / 497.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.1469, allocations: 323.6 kB / 497.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1473, allocations: 0.72 MB / 498.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.1474, allocations: 15.44 kB / 498.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1474, allocations: 4 kB / 498.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of Templates: time 0.00639/0.1538, allocations: 2.134 MB / 0.4889 GB, free: 14.58 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches