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.0008837/0.0008837, allocations: 96.83 kB / 15.69 MB, free: 480 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.0009333/0.0009334, allocations: 178 kB / 16.57 MB, free: 6.391 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.363/1.363, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3175/0.3175, allocations: 43.55 MB / 314.5 MB, free: 9.047 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.0005603/0.0005604, allocations: 22.97 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1107, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002318/0.113, allocations: 1.662 MB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1143, allocations: 0.8084 MB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1145, allocations: 11.94 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1148, allocations: 27.84 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.1151, allocations: 67.77 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1155, allocations: 91.75 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.1159, allocations: 123.7 kB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.116, allocations: 29.66 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1162, allocations: 75.69 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1163, allocations: 63.67 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1163, allocations: 4 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1165, allocations: 31.98 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.1165, allocations: 31.89 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.1166, allocations: 49.58 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1168, allocations: 135.9 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1168, allocations: 0 / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1168, allocations: 4 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1168, allocations: 0 / 446 MB, free: 10.07 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008576/0.1177, allocations: 0.5409 MB / 446.5 MB, free: 9.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1178, allocations: 23.95 kB / 446.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.1178, allocations: 15.81 kB / 446.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1181, allocations: 239.5 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1181, allocations: 11.98 kB / 446.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.1182, allocations: 8 kB / 446.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1186, allocations: 164.1 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1186, allocations: 0 / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1186, allocations: 4 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1186, allocations: 7.953 kB / 447 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.1191, allocations: 131.8 kB / 447.1 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006593/0.1198, allocations: 0.5555 MB / 447.7 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.1204, allocations: 186.6 kB / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.1205, allocations: 3.938 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.1209, allocations: 147.4 kB / 448 MB, free: 7.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.1209, allocations: 4 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008522/0.1217, allocations: 285.6 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1218, allocations: 59.41 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.122, allocations: 227.1 kB / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.122, allocations: 33.7 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.1221, allocations: 124.2 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1222, allocations: 35.62 kB / 448.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.1222, allocations: 4 kB / 448.7 MB, free: 7.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1223, allocations: 326.8 kB / 449.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1226, allocations: 79.94 kB / 449.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1228, allocations: 120.2 kB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.1231, allocations: 109.7 kB / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1231, allocations: 0 / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006029/0.1237, allocations: 282.9 kB / 449.6 MB, free: 6.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.1238, allocations: 33.7 kB / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1238, allocations: 0 / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1238, allocations: 4 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.124, allocations: 44.02 kB / 449.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.124, allocations: 7.938 kB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1242, allocations: 31.92 kB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.1242, allocations: 7.984 kB / 449.8 MB, free: 5.98 MB / 382.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001194/0.1243, allocations: 134.5 kB / 449.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1244, allocations: 23.72 kB / 449.9 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.1244, allocations: 25.39 kB / 449.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1244, allocations: 0 / 449.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1244, allocations: 0 / 449.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1244, allocations: 0 / 449.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.1246, allocations: 245.4 kB / 450.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1246, allocations: 0 / 450.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.1248, allocations: 31.91 kB / 450.2 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1248, allocations: 8 kB / 450.2 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1248, allocations: 4 kB / 450.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1248, allocations: 0 / 450.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1248, allocations: 0 / 450.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.1257, allocations: 344.7 kB / 450.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.1257, allocations: 96.91 kB / 450.7 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.1258, allocations: 7.984 kB / 450.7 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1259, allocations: 27.97 kB / 450.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.126, allocations: 20.03 kB / 450.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.126, allocations: 4 kB / 450.7 MB, free: 4.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1262, allocations: 168.6 kB / 450.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1262, allocations: 0 / 450.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1264, allocations: 35.91 kB / 450.9 MB, free: 4.734 MB / 382.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 (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.0008908/0.1273, allocations: 421.9 kB / 451.3 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005852/0.1279, allocations: 243.3 kB / 451.6 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1279, allocations: 4 kB / 451.6 MB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.1282, allocations: 87.88 kB / 451.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1285, allocations: 44.02 kB / 451.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.1291, allocations: 350 kB / 452 MB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1294, allocations: 0.7283 MB / 452.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.798e-05/0.1295, allocations: 25.53 kB / 452.8 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.1295, allocations: 19.42 kB / 452.8 MB, free: 2.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1295, allocations: 4 kB / 452.8 MB, free: 2.797 MB / 382.1 MB Notification: Performance of Templates: time 0.005041/0.1346, allocations: 2.489 MB / 455.3 MB, free: 320 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches