Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001615/0.001615, 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.001939/0.001939, allocations: 214.1 kB / 24.52 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.549/1.549, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2253/0.2253, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.002301/0.002301, allocations: 67.89 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3531, allocations: 65.47 MB / 0.5578 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00324/0.3564, allocations: 1.702 MB / 0.5595 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3581, allocations: 0.9754 MB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.3582, allocations: 3.938 kB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.3584, allocations: 39.78 kB / 0.5605 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.3588, allocations: 95.59 kB / 0.5605 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.359, allocations: 83.66 kB / 0.5606 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3592, allocations: 95.77 kB / 0.5607 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3593, allocations: 13.75 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.3594, allocations: 43.78 kB / 0.5608 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.3595, allocations: 39.78 kB / 0.5608 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3595, allocations: 4 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.3596, allocations: 43.98 kB / 0.5609 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.3596, allocations: 23.91 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.3597, allocations: 23.81 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3599, allocations: 123.5 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.3599, allocations: 0 / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3599, allocations: 3.938 kB / 0.561 GB, free: 4.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3599, allocations: 0 / 0.561 GB, free: 4.211 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.0005592/0.3605, allocations: 349.5 kB / 0.5614 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3605, allocations: 8.031 kB / 0.5614 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.3606, allocations: 4.188 kB / 0.5614 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.3606, allocations: 38.73 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.3606, allocations: 8.891 kB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3609, allocations: 155 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3609, allocations: 4.125 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3609, allocations: 4 kB / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3611, allocations: 57.66 kB / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3611, allocations: 3.938 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3611, allocations: 0 / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3611, allocations: 4 kB / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.3612, allocations: 23.98 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3616, allocations: 259.9 kB / 0.5619 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3618, allocations: 58.61 kB / 0.562 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.3618, allocations: 24.84 kB / 0.562 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3618, allocations: 0 / 0.562 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.362, allocations: 71.33 kB / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.362, allocations: 0 / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005888/0.3626, allocations: 185.3 kB / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3626, allocations: 55.41 kB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3629, allocations: 210.2 kB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3629, allocations: 29.7 kB / 0.5625 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.363, allocations: 104.1 kB / 0.5626 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.363, allocations: 27.78 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.363, allocations: 21.72 kB / 0.5627 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3632, allocations: 326.8 kB / 0.563 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.3632, allocations: 15.98 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.3633, allocations: 41.64 kB / 0.563 GB, free: 1.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3634, allocations: 65.77 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.3634, allocations: 4 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.3636, allocations: 109.5 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3637, allocations: 4 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3637, allocations: 0 / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3637, allocations: 4 kB / 0.5632 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.3638, allocations: 12 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3638, allocations: 7.922 kB / 0.5632 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.3638, allocations: 4 kB / 0.5632 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.3638, allocations: 0 / 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.000114/0.3639, allocations: 129.9 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.364, allocations: 19.83 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.3642, allocations: 115.1 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3642, allocations: 4 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3642, allocations: 3.938 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3642, allocations: 3.938 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.3647, allocations: 366.5 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3647, allocations: 0 / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.3648, allocations: 12.22 kB / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3648, allocations: 7.969 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3648, allocations: 8.359 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3648, allocations: 3.938 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3648, allocations: 0 / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3651, allocations: 220.2 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.3651, allocations: 11.89 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3651, allocations: 0 / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.3652, allocations: 7.984 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.3652, allocations: 11.98 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3652, allocations: 4 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.3654, allocations: 152.2 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3654, allocations: 3.938 kB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.3657, allocations: 27.94 kB / 0.5643 GB, free: 0.5625 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.002318/0.368, allocations: 1.135 MB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3682, allocations: 71.81 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3682, allocations: 4 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.3683, allocations: 23.94 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.0003556/0.3687, allocations: 31.95 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.3706, allocations: 1.677 MB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.3707, allocations: 96.3 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.3708, allocations: 12.97 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.3708, allocations: 39.42 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3708, allocations: 0 / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.3945, allocations: 3.82 MB / 0.571 GB, free: 9.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.88, allocations: 9.438 kB / 0.571 GB, free: 9.809 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.011561605031602] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.101620491012 12.12566338 11.761959732 Calling exit ...