Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009565/0.0009565, allocations: 199.1 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.5 MB / 244.1 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008407/0.0008407, allocations: 99.17 kB / 296.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.296/0.296, allocations: 44.84 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002492, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2946, allocations: 62.96 MB / 0.5165 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.4021, allocations: 92.37 MB / 0.6067 GB, free: 13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4024, allocations: 75.95 kB / 0.6068 GB, free: 12.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01591/0.4183, allocations: 5.786 MB / 0.6124 GB, free: 7.125 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4183, allocations: 0 / 0.6124 GB, free: 7.125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4184, allocations: 4 kB / 0.6124 GB, free: 7.121 MB / 426.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.0008799/0.4192, allocations: 0.5914 MB / 0.613 GB, free: 6.469 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4193, allocations: 8.875 kB / 0.613 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.4194, allocations: 16.75 kB / 0.613 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.4197, allocations: 263.7 kB / 0.6133 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.4197, allocations: 12.38 kB / 0.6133 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.4198, allocations: 12.31 kB / 0.6133 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.4202, allocations: 160.7 kB / 0.6134 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4202, allocations: 8.172 kB / 0.6134 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.4202, allocations: 7.938 kB / 0.6135 GB, free: 5.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.4202, allocations: 4 kB / 0.6135 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.4207, allocations: 131.9 kB / 0.6136 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.4215, allocations: 0.5983 MB / 0.6142 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.4221, allocations: 194.5 kB / 0.6144 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.4224, allocations: 84.78 kB / 0.6144 GB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4224, allocations: 0 / 0.6144 GB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.4228, allocations: 154.1 kB / 0.6146 GB, free: 4.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.4228, allocations: 0 / 0.6146 GB, free: 4.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.000899/0.4237, allocations: 297.3 kB / 0.6149 GB, free: 4.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.4238, allocations: 55.39 kB / 0.6149 GB, free: 4.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.424, allocations: 230.3 kB / 0.6151 GB, free: 4.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.424, allocations: 29.7 kB / 0.6152 GB, free: 4.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.4241, allocations: 132.2 kB / 0.6153 GB, free: 3.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.4242, allocations: 35.69 kB / 0.6153 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.4242, allocations: 0 / 0.6153 GB, free: 3.898 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4243, allocations: 336 kB / 0.6156 GB, free: 3.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.4246, allocations: 87.88 kB / 0.6157 GB, free: 3.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.4249, allocations: 114.8 kB / 0.6158 GB, free: 3.352 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.4254, allocations: 225.8 kB / 0.6161 GB, free: 3.109 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4254, allocations: 4 kB / 0.6161 GB, free: 3.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006455/0.4261, allocations: 275 kB / 0.6163 GB, free: 2.824 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.4261, allocations: 33.69 kB / 0.6164 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4261, allocations: 4 kB / 0.6164 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4261, allocations: 0 / 0.6164 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.4263, allocations: 47.91 kB / 0.6164 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.4263, allocations: 3.984 kB / 0.6164 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.4265, allocations: 39.88 kB / 0.6164 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.4266, allocations: 15.94 kB / 0.6165 GB, free: 2.676 MB / 426.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.000127/0.4267, allocations: 135.5 kB / 0.6166 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.4267, allocations: 19.72 kB / 0.6166 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006271/0.4274, allocations: 242.2 kB / 0.6168 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.4274, allocations: 4 kB / 0.6168 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4274, allocations: 4 kB / 0.6168 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4274, allocations: 0 / 0.6168 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.4276, allocations: 241.5 kB / 0.6171 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4276, allocations: 0 / 0.6171 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.4278, allocations: 35.91 kB / 0.6171 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4278, allocations: 0 / 0.6171 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4279, allocations: 4 kB / 0.6171 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4279, allocations: 0 / 0.6171 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4279, allocations: 11.94 kB / 0.6171 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.4287, allocations: 352.7 kB / 0.6175 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.4288, allocations: 104.8 kB / 0.6176 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.4289, allocations: 7.984 kB / 0.6176 GB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.4291, allocations: 31.91 kB / 0.6176 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.4291, allocations: 19.97 kB / 0.6176 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4292, allocations: 4 kB / 0.6176 GB, free: 1.391 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.4293, allocations: 176.4 kB / 0.6178 GB, free: 1.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4293, allocations: 4 kB / 0.6178 GB, free: 1.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.4296, allocations: 44 kB / 0.6178 GB, free: 1.172 MB / 426.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0008755/0.4305, allocations: 426.6 kB / 0.6182 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006111/0.4311, allocations: 239.2 kB / 0.6185 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4311, allocations: 0 / 0.6185 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.4314, allocations: 100.1 kB / 0.6186 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.4318, allocations: 49.59 kB / 0.6186 GB, free: 0.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007139/0.4325, allocations: 382.2 kB / 0.619 GB, free: 100 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4329, allocations: 0.7283 MB / 0.6197 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.433, allocations: 23.42 kB / 0.6197 GB, free: 15.32 MB / 442.7 MB Notification: Performance of SimCode: time 3.5e-07/0.433, allocations: 0 / 0.6197 GB, free: 15.32 MB / 442.7 MB Notification: Performance of Templates: time 0.004681/0.4377, allocations: 2.866 MB / 0.6225 GB, free: 12.46 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)