Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001311/0.001311, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002308/0.002308, allocations: 212.8 kB / 24.52 MB, free: 3.914 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.781 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.2545/0.2545, 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.002022/0.002022, allocations: 63.91 kB / 0.4939 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 65.47 MB / 0.5578 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003257/0.3286, allocations: 1.714 MB / 0.5595 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3304, allocations: 0.9637 MB / 0.5604 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.3305, allocations: 3.938 kB / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.3308, allocations: 47.75 kB / 0.5605 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.3311, allocations: 87.62 kB / 0.5605 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.3313, allocations: 87.66 kB / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3315, allocations: 103.7 kB / 0.5607 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.3316, allocations: 9.828 kB / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.3316, allocations: 47.77 kB / 0.5608 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.3317, allocations: 31.8 kB / 0.5608 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3318, allocations: 4 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.3319, allocations: 43.97 kB / 0.5609 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.3319, allocations: 27.86 kB / 0.5609 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.332, allocations: 19.88 kB / 0.5609 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.3322, allocations: 123.4 kB / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3322, allocations: 8 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3322, allocations: 0 / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3322, allocations: 0 / 0.561 GB, free: 4.215 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.0005446/0.3327, allocations: 345.5 kB / 0.5614 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3328, allocations: 12.03 kB / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.809e-05/0.3328, allocations: 192 / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.3328, allocations: 34.75 kB / 0.5614 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3329, allocations: 12.89 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.3331, allocations: 151 kB / 0.5616 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3331, allocations: 8.125 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3332, allocations: 8 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3333, allocations: 57.67 kB / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3333, allocations: 3.984 kB / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3333, allocations: 0 / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3333, allocations: 3.938 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.3334, allocations: 19.98 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.3338, allocations: 259.9 kB / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.334, allocations: 58.67 kB / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.334, allocations: 24.78 kB / 0.562 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.3341, allocations: 4 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.3342, allocations: 71.38 kB / 0.5621 GB, free: 3.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3342, allocations: 0 / 0.5621 GB, free: 3.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005704/0.3348, allocations: 185.3 kB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3348, allocations: 59.41 kB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.335, allocations: 202.2 kB / 0.5625 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3351, allocations: 25.7 kB / 0.5625 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.3351, allocations: 108.1 kB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.3352, allocations: 23.8 kB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3352, allocations: 29.7 kB / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3354, allocations: 322.8 kB / 0.563 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.3355, allocations: 23.98 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.3355, allocations: 37.7 kB / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3357, allocations: 61.64 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3357, allocations: 0 / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.3359, allocations: 101.5 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3359, allocations: 10.66 kB / 0.5632 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3359, allocations: 4.031 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3359, allocations: 0 / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.336, allocations: 19.98 kB / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.336, allocations: 8.094 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.3361, allocations: 0 / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3361, allocations: 4 kB / 0.5632 GB, free: 1.758 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.0001142/0.3362, allocations: 125.8 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.3362, allocations: 15.91 kB / 0.5634 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3365, allocations: 123 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3365, allocations: 0 / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3365, allocations: 7.938 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3365, allocations: 4.359 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.337, allocations: 362.4 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.337, allocations: 7.984 kB / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.337, allocations: 19.94 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.337, allocations: 3.938 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3371, allocations: 3.938 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3371, allocations: 4 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3371, allocations: 0 / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.3373, allocations: 224.5 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.3374, allocations: 11.89 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3374, allocations: 4 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.3375, allocations: 4 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3375, allocations: 3.984 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3375, allocations: 4 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.3377, allocations: 156.2 kB / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3377, allocations: 0 / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3379, allocations: 27.92 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.002316/0.3402, allocations: 1.13 MB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.3404, allocations: 63.89 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3404, allocations: 0 / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.3405, allocations: 39.98 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3409, allocations: 27.92 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.001981/0.3429, allocations: 1.678 MB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.751e-05/0.343, allocations: 88.19 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.343, allocations: 20.97 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.3431, allocations: 35.42 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3431, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3676, allocations: 3.818 MB / 0.571 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.83, allocations: 5.078 kB / 0.571 GB, free: 9.828 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.822412757901475] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.049008934060112 12.074785262 11.737851489 Calling exit ...