Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.001635, allocations: 187.5 kB / 16.4 MB, free: 5.621 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.136/2.136, 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.001165/0.001165, allocations: 90.86 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.297/0.297, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004834, allocations: 19.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003198/0.1235, allocations: 1.654 MB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1256, allocations: 0.8318 MB / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1258, allocations: 3.938 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.1261, allocations: 35.83 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1264, allocations: 59.78 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.1269, allocations: 99.75 kB / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.1272, allocations: 127.7 kB / 493 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1274, allocations: 17.69 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1276, allocations: 71.69 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1277, allocations: 63.67 kB / 493.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.1278, allocations: 8 kB / 493.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1279, allocations: 27.98 kB / 493.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.128, allocations: 31.91 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.1e-05/0.1281, allocations: 49.64 kB / 493.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1284, allocations: 139.8 kB / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1284, allocations: 0 / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1284, allocations: 0 / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1284, allocations: 0 / 493.4 MB, free: 6.105 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001307/0.1297, allocations: 0.5371 MB / 494 MB, free: 5.508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1298, allocations: 12.02 kB / 494 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.1299, allocations: 23.67 kB / 494 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.1303, allocations: 243.6 kB / 494.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.1304, allocations: 11.91 kB / 494.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.1304, allocations: 8 kB / 494.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.1311, allocations: 163.6 kB / 494.4 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1312, allocations: 0 / 494.4 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.1312, allocations: 4 kB / 494.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1312, allocations: 8 kB / 494.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008308/0.1321, allocations: 135.8 kB / 494.6 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.1331, allocations: 0.5438 MB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.1342, allocations: 190.5 kB / 495.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.1343, allocations: 3.953 kB / 495.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006683/0.135, allocations: 147.4 kB / 495.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.557e-06/0.135, allocations: 4 kB / 495.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.001589/0.1366, allocations: 281.3 kB / 495.7 MB, free: 3.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.1367, allocations: 67.33 kB / 495.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.1371, allocations: 227.1 kB / 496 MB, free: 3.301 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.1371, allocations: 29.7 kB / 496 MB, free: 3.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1373, allocations: 174.8 kB / 496.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.1374, allocations: 39.62 kB / 496.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.1374, allocations: 4 kB / 496.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1375, allocations: 322.8 kB / 496.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.138, allocations: 79.88 kB / 496.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.1386, allocations: 116.2 kB / 496.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.1391, allocations: 109.6 kB / 496.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1391, allocations: 0 / 496.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00117/0.1403, allocations: 271 kB / 497.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.1404, allocations: 37.81 kB / 497.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1404, allocations: 4 kB / 497.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.1404, allocations: 0 / 497.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.1408, allocations: 43.97 kB / 497.2 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1408, allocations: 0 / 497.2 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.1414, allocations: 43.81 kB / 497.3 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.1414, allocations: 7.938 kB / 497.3 MB, free: 1.988 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: 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.0002772/0.1417, allocations: 129.8 kB / 497.4 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.1418, allocations: 27.75 kB / 497.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/0.142, allocations: 17.41 kB / 497.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.142, allocations: 0 / 497.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.142, allocations: 0 / 497.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.142, allocations: 7.984 kB / 497.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.1425, allocations: 229.5 kB / 497.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1425, allocations: 4 kB / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.143, allocations: 35.97 kB / 497.7 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.143, allocations: 7.891 kB / 497.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.1431, allocations: 0 / 497.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1431, allocations: 0 / 497.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.1431, allocations: 4 kB / 497.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.1456, allocations: 341.1 kB / 498 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.1458, allocations: 100.9 kB / 498.1 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.1459, allocations: 3.953 kB / 498.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.1465, allocations: 36.03 kB / 498.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.1466, allocations: 15.97 kB / 498.2 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.1467, allocations: 12 kB / 498.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003603/0.1471, allocations: 160.6 kB / 498.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.1471, allocations: 0 / 498.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006299/0.1478, allocations: 40 kB / 498.4 MB, free: 0.7461 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: 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.001949/0.1497, allocations: 411.8 kB / 498.8 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.1516, allocations: 243.3 kB / 499 MB, free: 136 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.1517, allocations: 0 / 499 MB, free: 136 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007812/0.1525, allocations: 92 kB / 499.1 MB, free: 44 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/0.1532, allocations: 31.97 kB / 499.2 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1548, allocations: 388.1 kB / 499.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.1554, allocations: 0.736 MB / 0.4886 GB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.1556, allocations: 19.44 kB / 0.4886 GB, free: 14.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1556, allocations: 0 / 0.4886 GB, free: 14.82 MB / 346.7 MB Notification: Performance of Templates: time 0.009599/0.1652, allocations: 2.754 MB / 0.4913 GB, free: 12.07 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)