Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001874/0.001874, allocations: 112.5 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.002006/0.002006, allocations: 205.2 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.492/1.492, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2542/0.2542, allocations: 46.93 MB / 361.6 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 63.89 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3755, allocations: 66.04 MB / 0.5615 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003583/0.3791, allocations: 1.733 MB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.381, allocations: 1.049 MB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3811, allocations: 11.88 kB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.3814, allocations: 51.75 kB / 0.5643 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.3817, allocations: 95.61 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.382, allocations: 83.66 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3822, allocations: 103.8 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3823, allocations: 9.812 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3824, allocations: 55.66 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.3825, allocations: 27.86 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3825, allocations: 4 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.3826, allocations: 47.97 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.3826, allocations: 27.86 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.3827, allocations: 43.67 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.383, allocations: 143.3 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.383, allocations: 3.938 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.383, allocations: 0 / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.383, allocations: 0 / 0.5649 GB, free: 0.9492 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.0005821/0.3836, allocations: 381.2 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3836, allocations: 8.031 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.43e-05/0.3836, allocations: 4.188 kB / 0.5653 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.3837, allocations: 38.73 kB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.3837, allocations: 12.84 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.384, allocations: 163.2 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.384, allocations: 4.125 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.384, allocations: 4 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3842, allocations: 57.61 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3842, allocations: 0 / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3842, allocations: 0 / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3842, allocations: 8 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.3843, allocations: 15.98 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.3847, allocations: 271.9 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3849, allocations: 58.61 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.3849, allocations: 20.86 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3849, allocations: 4 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.3851, allocations: 63.39 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3851, allocations: 0 / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005437/0.3856, allocations: 189.3 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3857, allocations: 55.41 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.386, allocations: 274.7 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.386, allocations: 41.69 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.3861, allocations: 112.1 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.3861, allocations: 27.78 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.3861, allocations: 21.7 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3863, allocations: 330.8 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.3864, allocations: 15.98 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.3864, allocations: 41.64 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3865, allocations: 57.72 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3865, allocations: 3.938 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.3867, allocations: 109.5 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3868, allocations: 4 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3868, allocations: 4.188 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3868, allocations: 0 / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.3869, allocations: 19.94 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3869, allocations: 3.938 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.3869, allocations: 12.02 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.3869, allocations: 4 kB / 0.5672 GB, free: 14.34 MB / 414.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.0001197/0.3871, allocations: 133.8 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.3871, allocations: 15.91 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.3873, allocations: 115.1 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3873, allocations: 0 / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3873, allocations: 7.938 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3873, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3878, allocations: 378.4 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3878, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.3878, allocations: 8 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3878, allocations: 3.938 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3879, allocations: 11.92 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3879, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3879, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3881, allocations: 212.6 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.3882, allocations: 19.83 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.3882, allocations: 0 / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.3882, allocations: 4.375 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.3883, allocations: 7.984 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3883, allocations: 4 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.3885, allocations: 204.6 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3885, allocations: 4 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3888, allocations: 23.94 kB / 0.5683 GB, free: 13.12 MB / 414.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.002188/0.3909, allocations: 1.118 MB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.3911, allocations: 51.92 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3911, allocations: 0 / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.3912, allocations: 31.91 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3916, allocations: 36.03 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3939, allocations: 1.82 MB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.3943, allocations: 0.7158 MB / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.203e-05/0.3944, allocations: 25.27 kB / 0.572 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.199e-05/0.3945, allocations: 47.36 kB / 0.5721 GB, free: 9.324 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3945, allocations: 0 / 0.5721 GB, free: 9.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.4206, allocations: 3.996 MB / 0.576 GB, free: 5.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.59, allocations: 8 kB / 0.576 GB, free: 5.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.741697090037633] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.804357442015316 11.832716303 11.444424932 Calling exit ...