Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.00138/0.00138, 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.001383/0.001383, allocations: 202.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.572/1.572, 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.3026/0.3026, allocations: 46.93 MB / 361.6 MB, free: 4.293 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.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.91 kB / 0.497 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3794, allocations: 66.03 MB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003287/0.3827, allocations: 1.749 MB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3845, allocations: 1.049 MB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.3846, allocations: 7.938 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.3849, allocations: 55.75 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.3852, allocations: 95.61 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.3854, allocations: 83.66 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.3856, allocations: 103.7 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.3857, allocations: 9.828 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3858, allocations: 51.72 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.3859, allocations: 27.84 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3859, allocations: 4 kB / 0.5646 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.386, allocations: 43.97 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.386, allocations: 31.86 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.3861, allocations: 51.61 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3863, allocations: 131.4 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3863, allocations: 4 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3863, allocations: 0 / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.3864, allocations: 7.984 kB / 0.5649 GB, free: 0.8398 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.0005622/0.3869, allocations: 377.3 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.387, allocations: 12.03 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.457e-05/0.387, allocations: 192 / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.387, allocations: 34.75 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.387, allocations: 16.84 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.3873, allocations: 173.9 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3873, allocations: 12.12 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3874, allocations: 4 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3875, allocations: 53.67 kB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3875, allocations: 0 / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3875, allocations: 0 / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3875, allocations: 0 / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.3876, allocations: 19.98 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.388, allocations: 268 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3882, allocations: 58.56 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.3883, allocations: 20.84 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3883, allocations: 7.938 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.3884, allocations: 63.39 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3884, allocations: 0 / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.389, allocations: 201.2 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.389, allocations: 55.41 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.3893, allocations: 283.8 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3894, allocations: 29.7 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.3894, allocations: 120.1 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3895, allocations: 31.77 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.3895, allocations: 17.72 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3897, allocations: 334.8 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.3897, allocations: 15.98 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.3898, allocations: 37.7 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3899, allocations: 57.7 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3899, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.3901, allocations: 105.9 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3902, allocations: 8.031 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3902, allocations: 4 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3902, allocations: 0 / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.3903, allocations: 27.92 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3903, allocations: 3.938 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.3903, allocations: 4 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3903, allocations: 4 kB / 0.5672 GB, free: 14.22 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.0001214/0.3904, allocations: 137.8 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3905, allocations: 15.91 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.3908, allocations: 119.1 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3908, allocations: 0 / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3908, allocations: 11.86 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3908, allocations: 0 / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.3913, allocations: 374.5 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3913, allocations: 0 / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.3913, allocations: 11.94 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3913, allocations: 3.969 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3913, allocations: 11.94 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3913, allocations: 0 / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3913, allocations: 0 / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.3916, allocations: 212.8 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.3916, allocations: 23.78 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.3916, allocations: 3.938 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.3917, allocations: 12 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.3917, allocations: 7.922 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3918, allocations: 4 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.392, allocations: 216.6 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.392, allocations: 0 / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3922, allocations: 27.94 kB / 0.5684 GB, free: 12.95 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.00213/0.3943, allocations: 1.088 MB / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3945, allocations: 63.86 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3945, allocations: 0 / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.3946, allocations: 31.91 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.395, allocations: 23.98 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3971, allocations: 1.871 MB / 0.5714 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3974, allocations: 0.7119 MB / 0.5721 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.3975, allocations: 25.27 kB / 0.5721 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.3976, allocations: 47.42 kB / 0.5722 GB, free: 9.137 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3976, allocations: 4 kB / 0.5722 GB, free: 9.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.4205, allocations: 4.051 MB / 0.5761 GB, free: 5.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.6, allocations: 12.05 kB / 0.5761 GB, free: 5.156 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.799795800005086] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.81830678100232 11.84670364 11.455338726 Calling exit ...