Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001254/0.001254, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00147/0.00147, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2393/0.2393, allocations: 44.93 MB / 359.6 MB, free: 6.074 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.002263/0.002263, allocations: 59.91 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3358, allocations: 65.47 MB / 0.5578 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00321/0.339, allocations: 1.709 MB / 0.5595 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3407, allocations: 0.9715 MB / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.3408, allocations: 0 / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.341, allocations: 47.75 kB / 0.5604 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.3414, allocations: 91.61 kB / 0.5605 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3415, allocations: 79.67 kB / 0.5606 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3417, allocations: 115.6 kB / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.3418, allocations: 5.828 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.3419, allocations: 47.78 kB / 0.5608 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.342, allocations: 39.78 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.342, allocations: 4 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.879e-05/0.3421, allocations: 39.98 kB / 0.5609 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.3421, allocations: 15.92 kB / 0.5609 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.3422, allocations: 31.73 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.3424, allocations: 127.5 kB / 0.561 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3424, allocations: 4 kB / 0.561 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3424, allocations: 0 / 0.561 GB, free: 4.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.3424, allocations: 0 / 0.561 GB, free: 4.207 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.0005237/0.3429, allocations: 349.5 kB / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.343, allocations: 12.03 kB / 0.5614 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.036e-05/0.343, allocations: 192 / 0.5614 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.343, allocations: 30.75 kB / 0.5614 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.3431, allocations: 12.89 kB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.3433, allocations: 151 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3433, allocations: 8.062 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3433, allocations: 0 / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3435, allocations: 57.67 kB / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3435, allocations: 0 / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3435, allocations: 3.984 kB / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3435, allocations: 4 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.3436, allocations: 19.98 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.3439, allocations: 259.9 kB / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3441, allocations: 62.61 kB / 0.562 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.3442, allocations: 20.84 kB / 0.562 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3442, allocations: 3.938 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.3443, allocations: 75.38 kB / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3443, allocations: 0 / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005499/0.3449, allocations: 185.3 kB / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3449, allocations: 59.41 kB / 0.5623 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3451, allocations: 202.2 kB / 0.5625 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3452, allocations: 25.7 kB / 0.5625 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.3452, allocations: 104.1 kB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.3453, allocations: 23.8 kB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.3453, allocations: 25.7 kB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3455, allocations: 322.8 kB / 0.563 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.3455, allocations: 27.92 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.3456, allocations: 41.7 kB / 0.563 GB, free: 1.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3457, allocations: 61.69 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3457, allocations: 0 / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001964/0.3459, allocations: 109.5 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3459, allocations: 8 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3459, allocations: 0 / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.346, allocations: 0 / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.346, allocations: 15.98 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3461, allocations: 7.938 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.3461, allocations: 4.031 kB / 0.5632 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3461, allocations: 4 kB / 0.5632 GB, free: 1.75 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.0001132/0.3462, allocations: 132.6 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.3462, allocations: 15.91 kB / 0.5634 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3465, allocations: 123.1 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3465, allocations: 0 / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3465, allocations: 3.938 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3465, allocations: 0 / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.347, allocations: 370.4 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.347, allocations: 4.312 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.3471, allocations: 15.98 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3471, allocations: 3.938 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3471, allocations: 3.938 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3471, allocations: 4 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3471, allocations: 0 / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.3473, allocations: 216.6 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.3474, allocations: 15.89 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.3474, allocations: 0 / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.3475, allocations: 8 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.3475, allocations: 11.98 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3475, allocations: 4 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3476, allocations: 152.2 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3476, allocations: 0 / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3479, allocations: 23.94 kB / 0.5643 GB, free: 0.5703 MB / 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.002273/0.3502, allocations: 1.143 MB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.3504, allocations: 63.84 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.3504, allocations: 0 / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.3505, allocations: 31.98 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3508, allocations: 25.61 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3527, allocations: 1.68 MB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.412e-05/0.3528, allocations: 88.19 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.425e-05/0.3529, allocations: 20.95 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.3529, allocations: 35.42 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3529, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.3777, allocations: 3.82 MB / 0.571 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.04, allocations: 6.75 kB / 0.571 GB, free: 9.82 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.041038156952709] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.256282798014581 12.286526765 11.938676633 Calling exit ...