Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001247/0.001247, 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.001587/0.001587, allocations: 211.9 kB / 24.51 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2357/0.2357, allocations: 46.97 MB / 361.7 MB, free: 4.012 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.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.91 kB / 0.4969 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 66.03 MB / 0.5614 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003433/0.3792, allocations: 1.714 MB / 0.5631 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3811, allocations: 0.9637 MB / 0.564 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.3812, allocations: 4 kB / 0.564 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.3816, allocations: 87.69 kB / 0.5641 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.382, allocations: 119.5 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.3822, allocations: 79.67 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.3824, allocations: 115.7 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3825, allocations: 9.953 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.3826, allocations: 55.77 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.3827, allocations: 63.75 kB / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3828, allocations: 8 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3829, allocations: 47.97 kB / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.3829, allocations: 23.86 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.383, allocations: 31.75 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3832, allocations: 123.5 kB / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3833, allocations: 0 / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3833, allocations: 0 / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3833, allocations: 0 / 0.5648 GB, free: 0.7148 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.0006166/0.3839, allocations: 361.4 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3839, allocations: 8.031 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.288e-05/0.3839, allocations: 4.188 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.384, allocations: 38.75 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.384, allocations: 12.84 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3843, allocations: 154.8 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3843, allocations: 8.125 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3843, allocations: 0 / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3845, allocations: 57.66 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3845, allocations: 4 kB / 0.5654 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3845, allocations: 4 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3845, allocations: 0 / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3846, allocations: 20.06 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.3851, allocations: 271.8 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.3852, allocations: 58.67 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.3853, allocations: 20.84 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3853, allocations: 0 / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.3855, allocations: 71.33 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3855, allocations: 0 / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006011/0.3861, allocations: 177.6 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3861, allocations: 63.34 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.3864, allocations: 227.5 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3864, allocations: 29.64 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.3865, allocations: 112.1 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.3866, allocations: 27.78 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3866, allocations: 17.72 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.3868, allocations: 330.8 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.3869, allocations: 16.17 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.387, allocations: 41.7 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3871, allocations: 69.64 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3871, allocations: 0 / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002145/0.3873, allocations: 109.6 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3873, allocations: 4 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3873, allocations: 0 / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3874, allocations: 7.938 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.3875, allocations: 15.94 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3875, allocations: 3.938 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.3875, allocations: 11.97 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.3875, allocations: 0 / 0.567 GB, free: 14.19 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.000126/0.3877, allocations: 136.8 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.3877, allocations: 19.89 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.388, allocations: 119 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.388, allocations: 4 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.388, allocations: 3.938 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.388, allocations: 0 / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.3885, allocations: 370.4 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3885, allocations: 0 / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.3886, allocations: 15.98 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3886, allocations: 7.969 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3886, allocations: 4 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3886, allocations: 4 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3886, allocations: 240 / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.3889, allocations: 216.5 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.3889, allocations: 15.84 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.389, allocations: 7.984 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.389, allocations: 4 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3891, allocations: 11.92 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3891, allocations: 0 / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.3893, allocations: 177.1 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3893, allocations: 0 / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3896, allocations: 27.92 kB / 0.5681 GB, free: 12.98 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 (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.002495/0.3921, allocations: 1.144 MB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.3923, allocations: 63.91 kB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3924, allocations: 0 / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.3924, allocations: 27.98 kB / 0.5693 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.0004072/0.3928, allocations: 35.66 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.3951, allocations: 1.719 MB / 0.571 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3953, allocations: 108.7 kB / 0.5711 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.3953, allocations: 17.27 kB / 0.5712 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.3954, allocations: 39.42 kB / 0.5712 GB, free: 9.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3954, allocations: 0 / 0.5712 GB, free: 9.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.4206, allocations: 3.921 MB / 0.575 GB, free: 6.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.94, allocations: 7.438 kB / 0.575 GB, free: 6.059 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.909246708033606] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.155009484966286 12.17017941 11.783739059 Calling exit ...