Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001393/0.001393, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001749/0.001749, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2411/0.2411, allocations: 46.94 MB / 361.7 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] 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.Test46,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 59.89 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3786, allocations: 66.04 MB / 0.5615 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003734/0.3823, allocations: 1.741 MB / 0.5632 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3845, allocations: 1.049 MB / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3846, allocations: 0 / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.3849, allocations: 59.73 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.3853, allocations: 111.5 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.3856, allocations: 79.67 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3858, allocations: 95.75 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3859, allocations: 13.81 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3861, allocations: 47.73 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3862, allocations: 39.77 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3862, allocations: 4 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3863, allocations: 39.98 kB / 0.5647 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.3864, allocations: 27.86 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.3864, allocations: 47.67 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.3867, allocations: 139.4 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3867, allocations: 0 / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3867, allocations: 0 / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3867, allocations: 0 / 0.5649 GB, free: 0.9023 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.0006846/0.3874, allocations: 381.2 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3875, allocations: 12.03 kB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.486e-05/0.3875, allocations: 192 / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.3875, allocations: 34.75 kB / 0.5653 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.3876, allocations: 20.84 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.3879, allocations: 159.2 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.388, allocations: 12.11 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.388, allocations: 4 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3881, allocations: 53.67 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3882, allocations: 0 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3882, allocations: 0 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3882, allocations: 0 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.3883, allocations: 23.92 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.3887, allocations: 271.9 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.3889, allocations: 50.67 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.389, allocations: 20.84 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.389, allocations: 3.938 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.3892, allocations: 71.39 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3892, allocations: 0 / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006359/0.3898, allocations: 193.2 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3899, allocations: 55.41 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.3902, allocations: 274.7 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3902, allocations: 25.7 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.3903, allocations: 112.1 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3904, allocations: 31.78 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.3904, allocations: 25.72 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3906, allocations: 322.8 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.3906, allocations: 23.98 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.3907, allocations: 33.7 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3908, allocations: 73.7 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3908, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.391, allocations: 105.9 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3911, allocations: 10.59 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3911, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3911, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.3912, allocations: 23.98 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.3912, allocations: 3.938 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.3912, allocations: 8 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3913, allocations: 0 / 0.5672 GB, free: 14.3 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.0001459/0.3914, allocations: 137.9 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.3914, allocations: 15.91 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.3917, allocations: 123 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3917, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3917, allocations: 3.938 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3917, allocations: 3.984 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.3923, allocations: 378.4 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3923, allocations: 0 / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.3923, allocations: 11.98 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3923, allocations: 3.938 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3923, allocations: 4 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3923, allocations: 4 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3923, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.3926, allocations: 204.3 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.3926, allocations: 15.84 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3927, allocations: 11.98 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.3927, allocations: 192 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.3928, allocations: 7.984 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3928, allocations: 7.938 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.393, allocations: 204.6 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.393, allocations: 0 / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000262/0.3933, allocations: 27.92 kB / 0.5683 GB, free: 13.06 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.002202/0.3955, allocations: 1.105 MB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.3957, allocations: 55.91 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3957, allocations: 0 / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.3958, allocations: 24 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3961, allocations: 37.03 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3982, allocations: 1.828 MB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.3986, allocations: 0.7158 MB / 0.572 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.3987, allocations: 17.28 kB / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.3987, allocations: 51.41 kB / 0.5721 GB, free: 9.281 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3987, allocations: 0 / 0.5721 GB, free: 9.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.424, allocations: 4.006 MB / 0.576 GB, free: 5.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 4.062 kB / 0.576 GB, free: 5.355 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.832356707949657] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.003923545998987 12.031526691 11.639642963 Calling exit ...