Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.002578/0.002578, 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.002819/0.002819, 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2209/0.2209, allocations: 44.91 MB / 359.6 MB, free: 6.273 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001921/0.001921, allocations: 67.91 kB / 0.4939 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3468, allocations: 65.47 MB / 0.5579 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.00325/0.35, allocations: 1.732 MB / 0.5596 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3518, allocations: 1.045 MB / 0.5606 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.3519, allocations: 3.938 kB / 0.5606 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.3522, allocations: 43.77 kB / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.3525, allocations: 95.53 kB / 0.5607 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.3527, allocations: 75.73 kB / 0.5608 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.3528, allocations: 107.7 kB / 0.5609 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.3529, allocations: 13.75 kB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.353, allocations: 47.72 kB / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.3531, allocations: 35.86 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3531, allocations: 7.938 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.3532, allocations: 39.98 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.3533, allocations: 23.91 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.3533, allocations: 35.73 kB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3536, allocations: 119.5 kB / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3536, allocations: 0 / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3536, allocations: 0 / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3536, 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.0005762/0.3542, allocations: 348.2 kB / 0.5615 GB, free: 3.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3542, allocations: 16.03 kB / 0.5615 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.581e-05/0.3542, allocations: 4.188 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.3543, allocations: 30.75 kB / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.3543, allocations: 16.84 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3547, allocations: 150.3 kB / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3547, allocations: 8.125 kB / 0.5617 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3547, allocations: 0 / 0.5617 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3549, allocations: 53.67 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3549, allocations: 8 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3549, allocations: 0 / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3549, allocations: 0 / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.355, allocations: 23.92 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.3554, allocations: 256 kB / 0.5621 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3556, allocations: 50.67 kB / 0.5621 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.3556, allocations: 24.84 kB / 0.5621 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.3556, allocations: 4 kB / 0.5621 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.3558, allocations: 67.33 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3558, allocations: 0 / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005958/0.3564, allocations: 177.3 kB / 0.5624 GB, free: 2.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3565, allocations: 55.41 kB / 0.5624 GB, free: 2.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.3567, allocations: 187.2 kB / 0.5626 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3567, allocations: 25.7 kB / 0.5626 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.3568, allocations: 108.1 kB / 0.5627 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3568, allocations: 27.77 kB / 0.5628 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.3569, allocations: 21.72 kB / 0.5628 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.357, allocations: 322.8 kB / 0.5631 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.3571, allocations: 23.98 kB / 0.5631 GB, free: 2.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.841e-05/0.3572, allocations: 41.64 kB / 0.5632 GB, free: 2.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3573, allocations: 61.72 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3573, allocations: 0 / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.3575, allocations: 105.5 kB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3575, allocations: 4 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3575, allocations: 4.375 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3576, allocations: 3.938 kB / 0.5633 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.3577, allocations: 20.02 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3577, allocations: 3.938 kB / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.3577, allocations: 8 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3577, allocations: 8 kB / 0.5634 GB, free: 1.891 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.000107/0.3578, allocations: 121.8 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.3579, allocations: 7.953 kB / 0.5635 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.3581, allocations: 119 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3581, allocations: 0 / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3581, allocations: 11.94 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3581, allocations: 3.984 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.3586, allocations: 358.4 kB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3586, allocations: 0 / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.3586, allocations: 8 kB / 0.564 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3586, allocations: 7.938 kB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3586, allocations: 0 / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3586, allocations: 3.984 kB / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3587, allocations: 0 / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3589, allocations: 208.3 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.3589, allocations: 15.84 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3589, allocations: 4 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.359, allocations: 0 / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.359, allocations: 11.98 kB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3591, allocations: 4 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3592, allocations: 145.8 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3592, allocations: 0 / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3594, allocations: 23.94 kB / 0.5644 GB, free: 0.7617 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.002248/0.3617, allocations: 1.096 MB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.3619, allocations: 51.92 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3619, allocations: 0 / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.362, allocations: 32.09 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.0003863/0.3624, allocations: 30.3 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.3643, 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.0003564/0.3646, allocations: 0.7041 MB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.721e-05/0.3647, allocations: 21.27 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.3648, allocations: 35.42 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3648, allocations: 0 / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.3875, allocations: 3.604 MB / 0.5714 GB, free: 9.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.65, allocations: 10.41 kB / 0.5714 GB, free: 9.664 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.713763862033375] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.868243339995388 11.900150184 11.540342622 Calling exit ...