Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 111.1 kB / 17.04 MB, free: 6.027 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.001639/0.001639, allocations: 194.9 kB / 17.97 MB, free: 5.113 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.481/1.481, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2237/0.2237, allocations: 43.53 MB / 314.7 MB, free: 464 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.001666/0.001666, allocations: 70.92 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1321, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002976/0.1351, allocations: 1.636 MB / 443.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1362, allocations: 0.7906 MB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.1362, allocations: 0 / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1366, allocations: 51.75 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1368, allocations: 59.75 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.137, allocations: 86.14 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1372, allocations: 91.69 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.1373, allocations: 11.98 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.815e-05/0.1374, allocations: 47.78 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1375, allocations: 39.83 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1375, allocations: 4 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.1376, allocations: 27.92 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.1377, allocations: 19.92 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.1378, allocations: 31.8 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.138, allocations: 87.72 kB / 445 MB, free: 3.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.138, allocations: 0 / 445 MB, free: 3.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.138, allocations: 7.938 kB / 445 MB, free: 3.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.138, allocations: 0 / 445 MB, free: 3.137 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004821/0.1385, allocations: 403 kB / 445.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1385, allocations: 11.89 kB / 445.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.1386, allocations: 8.844 kB / 445.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1388, allocations: 206.1 kB / 445.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1388, allocations: 384 / 445.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1389, allocations: 8.125 kB / 445.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.139, allocations: 57.67 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.139, allocations: 0 / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.139, allocations: 0 / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.139, allocations: 0 / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.152e-05/0.1391, allocations: 15.98 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.1393, allocations: 181.5 kB / 445.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1394, allocations: 58.55 kB / 445.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.1395, allocations: 28.73 kB / 445.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1395, allocations: 4 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.1397, allocations: 63.39 kB / 446 MB, free: 1.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1397, allocations: 0 / 446 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002528/0.1399, allocations: 93.52 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.14, allocations: 59.39 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1401, allocations: 174.1 kB / 446.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.1401, allocations: 29.64 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.1401, allocations: 96.14 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1402, allocations: 11.89 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1402, allocations: 17.72 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.1403, allocations: 322.8 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.1403, allocations: 15.98 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.1404, allocations: 33.7 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.1405, allocations: 49.64 kB / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1405, allocations: 0 / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001254/0.1406, allocations: 81.44 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1407, allocations: 4 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1407, allocations: 4 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1407, allocations: 0 / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.1408, allocations: 15.92 kB / 447 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1408, allocations: 4.031 kB / 447 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.1408, allocations: 4 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1408, allocations: 320 / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.687e-05/0.1409, allocations: 129.7 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.1409, allocations: 7.906 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.141, allocations: 12.31 kB / 447.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.141, allocations: 4 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.141, allocations: 4 kB / 447.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.141, allocations: 4 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.976e-05/0.1411, allocations: 189.5 kB / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1411, allocations: 0 / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.1411, allocations: 7.984 kB / 447.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1411, allocations: 0 / 447.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1411, allocations: 4 kB / 447.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1411, allocations: 0 / 447.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1411, allocations: 0 / 447.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.1413, allocations: 116.8 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.1413, allocations: 89.02 kB / 447.5 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1414, allocations: 0 / 447.5 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.1414, allocations: 3.984 kB / 447.5 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1414, allocations: 4 kB / 447.6 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1415, allocations: 3.938 kB / 447.6 MB, free: 224 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.1415, allocations: 135.2 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1415, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.1417, allocations: 23.98 kB / 447.7 MB, free: 64 kB / 318.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: 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009784/0.1427, allocations: 412.8 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.1429, allocations: 39.92 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1429, allocations: 0 / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.143, allocations: 23.98 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1432, allocations: 31.61 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.1436, allocations: 182 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1439, allocations: 0.7002 MB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.144, allocations: 12.5 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.144, allocations: 19.42 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.144, allocations: 0 / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of Templates: time 0.00458/0.1486, allocations: 1.454 MB / 450.6 MB, free: 13.24 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches