Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001808/0.001808, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.00266/0.00266, allocations: 212.2 kB / 24.53 MB, free: 4.07 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: 8.023 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.2421/0.2421, allocations: 44.91 MB / 359.6 MB, free: 6.305 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.002068/0.002068, allocations: 59.91 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 65.48 MB / 0.5579 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003154/0.322, allocations: 1.728 MB / 0.5596 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3237, allocations: 1.053 MB / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.3238, allocations: 0 / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3241, allocations: 43.77 kB / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.3244, allocations: 91.55 kB / 0.5607 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.3246, allocations: 75.73 kB / 0.5608 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3248, allocations: 111.6 kB / 0.5609 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.3249, allocations: 9.906 kB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.325, allocations: 51.77 kB / 0.561 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.325, allocations: 31.86 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3251, allocations: 4 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.3252, allocations: 43.97 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.3252, allocations: 23.86 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.3253, allocations: 35.73 kB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.3255, allocations: 119.5 kB / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3255, allocations: 0 / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3255, allocations: 0 / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3255, allocations: 0 / 0.5612 GB, free: 4.32 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.0005375/0.326, allocations: 341.6 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3261, allocations: 12.03 kB / 0.5615 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.45e-05/0.3261, allocations: 192 / 0.5615 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.3261, allocations: 34.73 kB / 0.5616 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3262, allocations: 20.84 kB / 0.5616 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.3264, allocations: 154.2 kB / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3265, allocations: 8.125 kB / 0.5617 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3265, allocations: 0 / 0.5617 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3266, allocations: 57.67 kB / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3266, allocations: 4 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3267, allocations: 0 / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3267, allocations: 0 / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.3267, allocations: 19.98 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.3271, allocations: 255.9 kB / 0.5621 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.3273, allocations: 62.66 kB / 0.5621 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.3273, allocations: 20.84 kB / 0.5621 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3274, allocations: 4 kB / 0.5621 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.3275, allocations: 67.33 kB / 0.5622 GB, free: 3.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3275, allocations: 0 / 0.5622 GB, free: 3.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005714/0.3281, allocations: 173.3 kB / 0.5624 GB, free: 2.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3281, allocations: 67.33 kB / 0.5624 GB, free: 2.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3284, allocations: 183.2 kB / 0.5626 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3284, allocations: 25.7 kB / 0.5626 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3284, allocations: 104.1 kB / 0.5627 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.3285, allocations: 23.78 kB / 0.5628 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.3285, allocations: 25.72 kB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3287, allocations: 322.8 kB / 0.5631 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.3287, allocations: 27.92 kB / 0.5631 GB, free: 2.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.3288, allocations: 41.64 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.329, allocations: 61.72 kB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.329, allocations: 0 / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.3292, allocations: 101.6 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3292, allocations: 4 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3292, allocations: 4 kB / 0.5633 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3292, allocations: 4.031 kB / 0.5633 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.3293, allocations: 15.94 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3293, allocations: 7.922 kB / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.3293, allocations: 4.375 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3294, allocations: 4 kB / 0.5634 GB, free: 1.895 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.0001186/0.3295, allocations: 121.8 kB / 0.5635 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3295, allocations: 7.953 kB / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.3298, allocations: 126.9 kB / 0.5636 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3298, allocations: 4 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3298, allocations: 7.938 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3298, allocations: 3.984 kB / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.3303, allocations: 358.4 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3303, allocations: 0 / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.3303, allocations: 8 kB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.3303, allocations: 7.938 kB / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3303, allocations: 0 / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3303, allocations: 0 / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3303, allocations: 4.031 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3306, allocations: 204.3 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.3306, allocations: 15.84 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.3306, allocations: 4 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.3307, allocations: 0 / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3307, allocations: 11.98 kB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3308, allocations: 8 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3309, allocations: 141.8 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3309, allocations: 0 / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.3312, allocations: 27.88 kB / 0.5644 GB, free: 0.7578 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 (8): * Single equations (assignments): 6 * 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.002317/0.3335, allocations: 1.089 MB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3337, allocations: 55.95 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3337, allocations: 0 / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.3338, allocations: 35.98 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.3342, allocations: 23.92 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3361, allocations: 1.646 MB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3365, allocations: 0.7079 MB / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.3365, allocations: 17.27 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.3366, allocations: 35.42 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3366, allocations: 0 / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.3591, allocations: 3.595 MB / 0.5714 GB, free: 9.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.6, allocations: 11.19 kB / 0.5714 GB, free: 9.664 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.588024416007102] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.820661063014995 11.841986466 11.512182441 Calling exit ...