Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 107.3 kB / 17.02 MB, free: 5.707 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.001484/0.001484, allocations: 195.6 kB / 17.96 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.739/1.739, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2364/0.2364, allocations: 43.52 MB / 314.7 MB, free: 492 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.001498/0.001499, allocations: 65.11 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1225, allocations: 57.8 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003295/0.1258, allocations: 1.99 MB / 444 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1271, allocations: 0.8895 MB / 444.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1272, allocations: 4 kB / 444.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1275, allocations: 59.62 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1278, allocations: 71.56 kB / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1281, allocations: 115.7 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1283, allocations: 203.4 kB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1284, allocations: 33.55 kB / 445.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1285, allocations: 79.7 kB / 445.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.1286, allocations: 75.61 kB / 445.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1286, allocations: 12 kB / 445.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1288, allocations: 47.98 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1288, allocations: 43.77 kB / 445.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.1289, allocations: 71.59 kB / 445.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1291, allocations: 187.4 kB / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1291, allocations: 4 kB / 445.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1292, allocations: 4 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1292, allocations: 0 / 445.8 MB, free: 2.262 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007392/0.1299, allocations: 0.5564 MB / 446.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.13, allocations: 11.89 kB / 446.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.13, allocations: 20.75 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1303, allocations: 252.7 kB / 446.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1303, allocations: 4.375 kB / 446.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.1304, allocations: 20.11 kB / 446.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.1307, allocations: 144.1 kB / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1307, allocations: 7.922 kB / 446.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1307, allocations: 11.94 kB / 446.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1308, allocations: 3.984 kB / 446.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.1311, allocations: 111.8 kB / 447 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.1317, allocations: 0.5399 MB / 447.5 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.1323, allocations: 158.5 kB / 447.7 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.1325, allocations: 76.8 kB / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1325, allocations: 4 kB / 447.7 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.1329, allocations: 131.2 kB / 447.9 MB, free: 28 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.1329, allocations: 0 / 447.9 MB, free: 28 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008454/0.1337, allocations: 261.6 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1338, allocations: 63.33 kB / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1341, allocations: 219.1 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.1341, allocations: 37.69 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.1342, allocations: 128.4 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1343, allocations: 31.55 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.1343, allocations: 33.72 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1345, allocations: 334.8 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.1348, allocations: 63.94 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.1351, allocations: 117.3 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.1356, allocations: 193.6 kB / 449.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1357, allocations: 4 kB / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006973/0.1364, allocations: 243.1 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.1364, allocations: 38.47 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1364, allocations: 0 / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1364, allocations: 4 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1366, allocations: 43.84 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1366, allocations: 0 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.1368, allocations: 27.88 kB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.1369, allocations: 8 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001127/0.137, allocations: 133.8 kB / 449.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.137, allocations: 19.8 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.1371, allocations: 21.41 kB / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1371, allocations: 3.938 kB / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1371, allocations: 0 / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1371, allocations: 0 / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1373, allocations: 237.5 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1373, allocations: 3.938 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1375, allocations: 27.97 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1375, allocations: 4 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1375, allocations: 11.94 kB / 450.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1375, allocations: 3.938 kB / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1375, allocations: 0 / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.1383, allocations: 308.6 kB / 450.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.1384, allocations: 88.95 kB / 450.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.1384, allocations: 11.98 kB / 450.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1386, allocations: 19.91 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.1386, allocations: 15.98 kB / 450.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.1387, allocations: 4 kB / 450.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1389, allocations: 176.6 kB / 450.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1389, allocations: 0 / 450.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1392, allocations: 40 kB / 450.8 MB, free: 12.91 MB / 334.1 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001004/0.1402, allocations: 419.1 kB / 451.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000584/0.1408, allocations: 215.3 kB / 451.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1408, allocations: 8 kB / 451.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.141, allocations: 75.88 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1414, allocations: 52.36 kB / 451.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.1421, allocations: 320.3 kB / 451.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1424, allocations: 0.7201 MB / 452.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.331e-05/0.1425, allocations: 25.53 kB / 452.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.1426, allocations: 19.44 kB / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1426, allocations: 0 / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of Templates: time 0.006019/0.1486, allocations: 2.798 MB / 455.4 MB, free: 8.309 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches