Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009704, allocations: 102.9 kB / 16.02 MB, free: 76 kB / 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: 186.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4924/0.4924, allocations: 43.58 MB / 315 MB, free: 9.086 MB / 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.0005124/0.0005126, allocations: 16 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001995/0.136, allocations: 1.421 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1374, allocations: 0.773 MB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.1375, allocations: 0 / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.1378, allocations: 99.78 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.138, allocations: 79.77 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1382, allocations: 75.86 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1384, allocations: 103.7 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.1385, allocations: 12.22 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.1385, allocations: 59.69 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.916e-05/0.1387, allocations: 59.77 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1387, allocations: 4 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.1388, allocations: 43.97 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.1388, allocations: 23.86 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.1389, allocations: 61.44 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1391, allocations: 123.8 kB / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1391, allocations: 0 / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1391, allocations: 0 / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1391, allocations: 0 / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004719/0.1396, allocations: 414.9 kB / 446.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1396, allocations: 16.02 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1397, allocations: 8.844 kB / 446.8 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1399, allocations: 216.8 kB / 447 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1399, allocations: 4.375 kB / 447 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.14, allocations: 8.109 kB / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1401, allocations: 61.61 kB / 447.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1401, allocations: 3.938 kB / 447.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1401, allocations: 0 / 447.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1402, allocations: 4 kB / 447.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.1402, allocations: 19.98 kB / 447.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1406, allocations: 296.8 kB / 447.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1407, allocations: 62.61 kB / 447.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.1408, allocations: 16.86 kB / 447.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1408, allocations: 4 kB / 447.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.141, allocations: 71.38 kB / 447.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.141, allocations: 0 / 447.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004761/0.1415, allocations: 177.1 kB / 447.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1415, allocations: 51.41 kB / 447.8 MB, free: 8.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1417, allocations: 246.1 kB / 448 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1418, allocations: 33.7 kB / 448.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.1418, allocations: 112.1 kB / 448.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1419, allocations: 19.72 kB / 448.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.1419, allocations: 17.7 kB / 448.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.142, allocations: 330.8 kB / 448.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.1421, allocations: 20 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.1421, allocations: 37.64 kB / 448.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1423, allocations: 57.89 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1423, allocations: 0 / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.1424, allocations: 117.3 kB / 448.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1425, allocations: 4 kB / 448.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.1425, allocations: 4 kB / 448.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1425, allocations: 0 / 448.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.1426, allocations: 12 kB / 448.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.1426, allocations: 0 / 448.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.1426, allocations: 15.95 kB / 448.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1426, allocations: 4 kB / 448.8 MB, free: 7.301 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001101/0.1428, allocations: 129.8 kB / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1428, allocations: 15.84 kB / 448.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.1428, allocations: 17.41 kB / 448.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1428, allocations: 0 / 448.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1429, allocations: 0 / 448.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1429, allocations: 7.922 kB / 449 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.1433, allocations: 411.3 kB / 449.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1433, allocations: 0 / 449.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.1433, allocations: 8 kB / 449.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1433, allocations: 0 / 449.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1434, allocations: 7.922 kB / 449.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1434, allocations: 4 kB / 449.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1434, allocations: 0 / 449.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1436, allocations: 204.3 kB / 449.6 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.1437, allocations: 88.92 kB / 449.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1437, allocations: 7.938 kB / 449.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1438, allocations: 11.92 kB / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.1438, allocations: 4 kB / 449.7 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1438, allocations: 4 kB / 449.7 MB, free: 6.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.144, allocations: 184.3 kB / 449.9 MB, free: 6.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.144, allocations: 4 kB / 449.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1443, allocations: 31.98 kB / 449.9 MB, free: 6.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001021/0.1453, allocations: 474.7 kB / 450.4 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1455, allocations: 63.92 kB / 450.4 MB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1455, allocations: 0 / 450.4 MB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.1455, allocations: 23.98 kB / 450.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1459, allocations: 31.97 kB / 450.5 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.1463, allocations: 302.5 kB / 450.8 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1466, allocations: 0.7082 MB / 451.5 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.92e-05/0.1466, allocations: 21.17 kB / 451.5 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.1467, allocations: 19.44 kB / 451.5 MB, free: 4.422 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1467, allocations: 0 / 451.5 MB, free: 4.422 MB / 382.1 MB Notification: Performance of Templates: time 0.00402/0.1507, allocations: 1.63 MB / 453.2 MB, free: 2.793 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches