Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 105.1 kB / 21.21 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 212.5 kB / 24.51 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.93 MB / 359.6 MB, free: 6.09 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 0.4939 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3292, allocations: 65.47 MB / 0.5578 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003084/0.3323, allocations: 1.715 MB / 0.5595 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.334, allocations: 0.9676 MB / 0.5604 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.3341, allocations: 4 kB / 0.5604 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.3344, allocations: 55.75 kB / 0.5605 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.3347, allocations: 103.5 kB / 0.5606 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3349, allocations: 75.73 kB / 0.5606 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.3352, allocations: 115.6 kB / 0.5607 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.3352, allocations: 5.828 kB / 0.5608 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.3353, allocations: 39.8 kB / 0.5608 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.3354, allocations: 39.83 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3354, allocations: 4 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.3355, allocations: 43.98 kB / 0.5609 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.3356, allocations: 31.8 kB / 0.5609 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.3357, allocations: 35.72 kB / 0.5609 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3359, allocations: 139.4 kB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3359, allocations: 0 / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3359, allocations: 0 / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3359, allocations: 0 / 0.5611 GB, free: 4.176 MB / 398.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.0005918/0.3365, allocations: 377.2 kB / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3365, allocations: 12.03 kB / 0.5614 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.208e-05/0.3365, allocations: 192 / 0.5614 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.3366, allocations: 30.75 kB / 0.5615 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3366, allocations: 24.83 kB / 0.5615 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.3369, allocations: 163.2 kB / 0.5617 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3369, allocations: 4.125 kB / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.3369, allocations: 4 kB / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.337, allocations: 53.67 kB / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3371, allocations: 0 / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3371, allocations: 0 / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3371, allocations: 0 / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.178e-05/0.3371, allocations: 23.98 kB / 0.5617 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.3375, allocations: 271.9 kB / 0.562 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3377, allocations: 62.61 kB / 0.5621 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.3378, allocations: 24.86 kB / 0.5621 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3378, allocations: 3.984 kB / 0.5621 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.338, allocations: 67.39 kB / 0.5621 GB, free: 2.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.338, allocations: 0 / 0.5621 GB, free: 2.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005963/0.3386, allocations: 189.3 kB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3386, allocations: 63.34 kB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.3389, allocations: 279.7 kB / 0.5627 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3389, allocations: 33.7 kB / 0.5627 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.339, allocations: 120 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.339, allocations: 23.8 kB / 0.5628 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.3391, allocations: 25.7 kB / 0.5628 GB, free: 2.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3392, allocations: 326.8 kB / 0.5632 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.3393, allocations: 23.98 kB / 0.5632 GB, free: 1.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.3394, allocations: 33.7 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3395, allocations: 57.72 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3395, allocations: 3.984 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002036/0.3397, allocations: 113.5 kB / 0.5634 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3397, allocations: 8 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3397, allocations: 0 / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3398, allocations: 3.938 kB / 0.5634 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.3398, allocations: 19.92 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3399, allocations: 7.938 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.3399, allocations: 0 / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3399, allocations: 4 kB / 0.5634 GB, free: 1.555 MB / 398.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.0001239/0.34, allocations: 133.9 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3401, allocations: 19.91 kB / 0.5636 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.3403, allocations: 131 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3403, allocations: 0 / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3404, allocations: 3.938 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3404, allocations: 0 / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.3409, allocations: 382.5 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3409, allocations: 4 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.3409, allocations: 8 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3409, allocations: 3.938 kB / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3409, allocations: 4.406 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3409, allocations: 4.281 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3409, allocations: 3.984 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3412, allocations: 228.2 kB / 0.5643 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.3412, allocations: 15.84 kB / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.3412, allocations: 4 kB / 0.5643 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.3413, allocations: 0 / 0.5643 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.3414, allocations: 11.98 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3414, allocations: 7.938 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.3416, allocations: 208.6 kB / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3416, allocations: 4 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.3418, allocations: 27.89 kB / 0.5646 GB, free: 284 kB / 398.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 (9): * Single equations (assignments): 7 * 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.002262/0.3441, allocations: 1.14 MB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.3443, allocations: 67.89 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3443, allocations: 0 / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.3444, allocations: 27.98 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3447, allocations: 33.55 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3468, allocations: 1.843 MB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.3469, allocations: 113.2 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.347, allocations: 17.27 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.3471, allocations: 43.42 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3471, allocations: 0 / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.3701, allocations: 4.149 MB / 0.5718 GB, free: 9.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.04, allocations: 13.28 kB / 0.5718 GB, free: 8.996 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.053410126944073] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.269694491988048 12.294011419 11.954705037 Calling exit ...