Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001281/0.001281, 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.001456/0.001456, 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.252/0.252, allocations: 44.92 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.002075/0.002075, allocations: 66.84 kB / 0.4939 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4276, allocations: 65.46 MB / 0.5579 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003223/0.4309, allocations: 1.772 MB / 0.5596 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.4327, allocations: 1.061 MB / 0.5606 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.4328, allocations: 0 / 0.5606 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.4332, allocations: 103.7 kB / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.4336, allocations: 123.5 kB / 0.5608 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.4338, allocations: 83.72 kB / 0.5609 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.4341, allocations: 139.6 kB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4342, allocations: 17.89 kB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4343, allocations: 63.77 kB / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.4344, allocations: 75.73 kB / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.4345, allocations: 4 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.4346, allocations: 63.91 kB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.641e-05/0.4347, allocations: 31.91 kB / 0.5613 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.4347, allocations: 43.62 kB / 0.5613 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.435, allocations: 159.3 kB / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.435, allocations: 8 kB / 0.5615 GB, free: 3.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.435, allocations: 0 / 0.5615 GB, free: 3.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.435, allocations: 0 / 0.5615 GB, free: 3.992 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006655/0.4357, allocations: 389.2 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4357, allocations: 11.97 kB / 0.5619 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.587e-05/0.4357, allocations: 192 / 0.5619 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.4358, allocations: 38.73 kB / 0.5619 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.4358, allocations: 16.84 kB / 0.5619 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.4362, allocations: 167.2 kB / 0.5621 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4362, allocations: 12.11 kB / 0.5621 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.4363, allocations: 4 kB / 0.5621 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.4365, allocations: 65.61 kB / 0.5622 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4365, allocations: 4 kB / 0.5622 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4365, allocations: 0 / 0.5622 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4365, allocations: 0 / 0.5622 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4366, allocations: 31.97 kB / 0.5622 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.4371, allocations: 291.8 kB / 0.5625 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.4374, allocations: 70.58 kB / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.4374, allocations: 28.84 kB / 0.5626 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.4375, allocations: 8.125 kB / 0.5626 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.4376, allocations: 71.38 kB / 0.5627 GB, free: 2.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.4376, allocations: 4 kB / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008428/0.4385, allocations: 281 kB / 0.5629 GB, free: 2.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.4385, allocations: 55.34 kB / 0.563 GB, free: 2.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.4388, allocations: 255.8 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.4389, allocations: 29.7 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.4389, allocations: 112.1 kB / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.439, allocations: 47.61 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.4391, allocations: 33.66 kB / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4392, allocations: 334.8 kB / 0.5638 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.4393, allocations: 31.98 kB / 0.5638 GB, free: 1.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.774e-05/0.4394, allocations: 45.7 kB / 0.5638 GB, free: 1.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.4396, allocations: 89.75 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4396, allocations: 0 / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002716/0.4398, allocations: 149.5 kB / 0.5641 GB, free: 1.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4398, allocations: 10.66 kB / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4399, allocations: 0 / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4399, allocations: 3.938 kB / 0.5641 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.44, allocations: 31.92 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.44, allocations: 0 / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.44, allocations: 7.953 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.44, allocations: 4 kB / 0.5641 GB, free: 1.098 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 (14): * Single equations (assignments): 14 * 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.0001392/0.4402, allocations: 144.8 kB / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.4402, allocations: 11.91 kB / 0.5643 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.4406, allocations: 171.6 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4406, allocations: 7.938 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4406, allocations: 0 / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4406, allocations: 0 / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.4412, allocations: 447 kB / 0.5649 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4412, allocations: 4.062 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.4413, allocations: 12 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4413, allocations: 4 kB / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4413, allocations: 4 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.4413, allocations: 7.984 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4413, allocations: 0 / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.4416, allocations: 249 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.4417, allocations: 15.89 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.4417, allocations: 8 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.4418, allocations: 4 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.4418, allocations: 7.984 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.4418, allocations: 4 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.442, allocations: 197.5 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.442, allocations: 96 / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4423, allocations: 31.88 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002758/0.445, allocations: 1.185 MB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.4453, allocations: 87.89 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4453, allocations: 8 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4455, allocations: 39.92 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.4459, allocations: 35.55 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.4485, allocations: 1.963 MB / 0.5686 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.4489, allocations: 0.724 MB / 0.5693 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.376e-05/0.449, allocations: 29.06 kB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.4491, allocations: 43.42 kB / 0.5694 GB, free: 11.65 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4491, allocations: 0 / 0.5694 GB, free: 11.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.4751, allocations: 4.433 MB / 0.5737 GB, free: 7.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.64, allocations: 7.156 kB / 0.5737 GB, free: 7.305 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.787791745970026] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 11.870587782992516 11.885520282 11.447283543 Calling exit ...