Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001277/0.001277, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001495/0.001495, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2217/0.2217, allocations: 44.91 MB / 359.6 MB, free: 6.289 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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.002082/0.002082, allocations: 63.89 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3349, allocations: 65.46 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003555/0.3385, allocations: 1.845 MB / 0.5596 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.3413, allocations: 1.805 MB / 0.5614 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.181e-05/0.3413, allocations: 11.88 kB / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.3416, allocations: 55.69 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.342, allocations: 139.3 kB / 0.5616 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3423, allocations: 99.7 kB / 0.5617 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.3426, allocations: 207.3 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.3426, allocations: 9.812 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.3428, allocations: 99.55 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.343, allocations: 82.28 kB / 0.5621 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.343, allocations: 8 kB / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.3432, allocations: 123.9 kB / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.3433, allocations: 39.83 kB / 0.5622 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/0.3434, allocations: 63.59 kB / 0.5623 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.3437, allocations: 228.9 kB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3437, allocations: 0 / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3437, allocations: 0 / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3437, allocations: 0 / 0.5625 GB, free: 2.957 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007268/0.3445, allocations: 432.9 kB / 0.5629 GB, free: 2.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3445, allocations: 12.03 kB / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.3445, allocations: 4.188 kB / 0.5629 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.3446, allocations: 34.69 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.3446, allocations: 16.84 kB / 0.563 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.345, allocations: 198.1 kB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.345, allocations: 8.125 kB / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.345, allocations: 8 kB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.3453, allocations: 101 kB / 0.5633 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3453, allocations: 0 / 0.5633 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3453, allocations: 4 kB / 0.5633 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3453, allocations: 0 / 0.5633 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3454, allocations: 35.91 kB / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.3456, allocations: 193.5 kB / 0.5635 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3459, allocations: 101.2 kB / 0.5636 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.346, allocations: 41.64 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.346, allocations: 0 / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.3463, allocations: 109.1 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3463, allocations: 0 / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004594/0.3468, allocations: 173.9 kB / 0.5639 GB, free: 1.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.3469, allocations: 136.4 kB / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.3471, allocations: 236.2 kB / 0.5643 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3472, allocations: 29.69 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.3472, allocations: 124.1 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.3473, allocations: 35.67 kB / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.3473, allocations: 29.7 kB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3475, allocations: 330.8 kB / 0.5648 GB, free: 380 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.3476, allocations: 23.98 kB / 0.5648 GB, free: 356 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.3477, allocations: 81.12 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3479, allocations: 87.3 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3479, allocations: 4 kB / 0.565 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002956/0.3482, allocations: 133.5 kB / 0.5651 GB, free: 12 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3482, allocations: 8.094 kB / 0.5651 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3482, allocations: 0 / 0.5651 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3482, allocations: 4 kB / 0.5651 GB, free: 0 / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3483, allocations: 24.05 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.3483, allocations: 7.938 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.3484, allocations: 11.95 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3484, allocations: 4 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001377/0.3486, allocations: 138.3 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.3486, allocations: 15.91 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.349, allocations: 154.9 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.349, allocations: 3.984 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.349, allocations: 0 / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.349, allocations: 0 / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.3492, allocations: 200.5 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3492, allocations: 0 / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.3492, allocations: 11.94 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3492, allocations: 0 / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3492, allocations: 11.98 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3492, allocations: 4 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3492, allocations: 3.984 kB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3496, allocations: 165.7 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.3496, allocations: 23.89 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.3496, allocations: 0 / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.3497, allocations: 4 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3497, allocations: 16.08 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3498, allocations: 7.938 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.35, allocations: 181.8 kB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.35, allocations: 0 / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.3502, allocations: 47.88 kB / 0.5661 GB, free: 14.89 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002342/0.3526, allocations: 1.117 MB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.3529, allocations: 75.91 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3529, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.353, allocations: 35.92 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3534, allocations: 54.91 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.3558, allocations: 1.896 MB / 0.5692 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3562, allocations: 0.7203 MB / 0.5699 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.3563, allocations: 33.61 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3565, allocations: 55.41 kB / 0.57 GB, free: 10.94 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3565, allocations: 0 / 0.57 GB, free: 10.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.3839, allocations: 5.547 MB / 0.5754 GB, free: 5.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 4.062 kB / 0.5754 GB, free: 5.457 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.950710409029853] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 12.176497896027286 12.192367142 11.845427548 Calling exit ...