Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.00173/0.00173, 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.00187/0.00187, allocations: 214.9 kB / 24.51 MB, free: 3.945 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.222/0.222, 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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.00199/0.00199, allocations: 67.89 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3411, allocations: 65.48 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003203/0.3443, allocations: 1.674 MB / 0.5594 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.346, allocations: 0.9559 MB / 0.5604 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.3461, allocations: 0 / 0.5604 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.3463, allocations: 51.77 kB / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.3466, allocations: 99.59 kB / 0.5605 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.3468, allocations: 79.66 kB / 0.5606 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.347, allocations: 95.7 kB / 0.5607 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.347, allocations: 8.234 kB / 0.5607 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.3471, allocations: 43.78 kB / 0.5607 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.625e-05/0.3472, allocations: 27.84 kB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3472, allocations: 4 kB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.3473, allocations: 39.92 kB / 0.5608 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.3474, allocations: 23.92 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.3474, allocations: 31.73 kB / 0.5608 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.3476, allocations: 129.2 kB / 0.561 GB, free: 4.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3476, allocations: 0 / 0.561 GB, free: 4.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3476, allocations: 0 / 0.561 GB, free: 4.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3476, allocations: 0 / 0.561 GB, free: 4.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005516/0.3482, allocations: 373.3 kB / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3482, allocations: 12.03 kB / 0.5613 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.276e-05/0.3482, allocations: 192 / 0.5613 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.3483, allocations: 34.69 kB / 0.5614 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.3483, allocations: 12.89 kB / 0.5614 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3486, allocations: 159.2 kB / 0.5615 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3486, allocations: 16.11 kB / 0.5615 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3486, allocations: 0 / 0.5615 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3488, allocations: 49.67 kB / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3488, allocations: 0 / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3488, allocations: 0 / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3488, allocations: 0 / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.3489, allocations: 15.98 kB / 0.5616 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.3491, allocations: 156.8 kB / 0.5618 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.3492, allocations: 62.48 kB / 0.5618 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.3493, allocations: 20.84 kB / 0.5618 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3493, allocations: 4 kB / 0.5618 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.3495, allocations: 63.39 kB / 0.5619 GB, free: 3.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3495, allocations: 0 / 0.5619 GB, free: 3.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000296/0.3498, allocations: 109.5 kB / 0.562 GB, free: 3.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3498, allocations: 51.41 kB / 0.5621 GB, free: 2.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3501, allocations: 275.8 kB / 0.5623 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3501, allocations: 29.7 kB / 0.5623 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.3502, allocations: 120.1 kB / 0.5625 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.3502, allocations: 15.84 kB / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.3503, allocations: 25.7 kB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3504, allocations: 326.8 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.3505, allocations: 15.98 kB / 0.5628 GB, free: 2.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.3505, allocations: 25.72 kB / 0.5628 GB, free: 2.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.3506, allocations: 53.83 kB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3506, allocations: 4 kB / 0.5629 GB, free: 2.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001706/0.3508, allocations: 89.58 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3508, allocations: 4 kB / 0.563 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3508, allocations: 3.938 kB / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3508, allocations: 3.938 kB / 0.563 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.3509, allocations: 12 kB / 0.563 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3509, allocations: 3.984 kB / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.351, allocations: 11.95 kB / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.351, allocations: 0 / 0.563 GB, free: 1.941 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 (7): * Single equations (assignments): 7 * 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.0001199/0.3511, allocations: 140.6 kB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3511, allocations: 19.91 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.3514, allocations: 102.7 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3514, allocations: 0 / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3514, allocations: 0 / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3514, allocations: 4 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3516, allocations: 168.6 kB / 0.5634 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3516, allocations: 4 kB / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.3516, allocations: 4 kB / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3516, allocations: 0 / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3516, allocations: 0 / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3516, allocations: 0 / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3516, allocations: 4 kB / 0.5635 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.3518, allocations: 125 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.3519, allocations: 19.89 kB / 0.5636 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.3519, allocations: 8.125 kB / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.115e-05/0.3519, allocations: 4 kB / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.352, allocations: 7.984 kB / 0.5636 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.352, allocations: 0 / 0.5636 GB, free: 1.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.3522, allocations: 204.6 kB / 0.5638 GB, free: 1.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3522, allocations: 0 / 0.5638 GB, free: 1.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.3524, allocations: 23.92 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002015/0.3544, allocations: 0.9809 MB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3546, allocations: 51.92 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3546, allocations: 0 / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.3547, allocations: 19.98 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.355, allocations: 27.97 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.357, allocations: 1.69 MB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3571, allocations: 117.6 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.382e-05/0.3571, allocations: 16.47 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.3572, allocations: 39.42 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3572, allocations: 0 / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.3823, allocations: 3.841 MB / 0.5704 GB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 6.531 kB / 0.5705 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.937600790057331] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.078000145964324 12.095718042 11.744574274 Calling exit ...