Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001555/0.001555, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002019/0.002019, allocations: 214 kB / 24.52 MB, free: 3.914 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2339/0.2339, allocations: 44.93 MB / 359.6 MB, free: 6.082 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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.002861/0.002861, allocations: 63.91 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4149, allocations: 65.47 MB / 0.5578 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003298/0.4182, allocations: 1.676 MB / 0.5594 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.42, allocations: 0.9404 MB / 0.5603 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.4201, allocations: 3.938 kB / 0.5603 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.4204, allocations: 63.8 kB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.4207, allocations: 111.5 kB / 0.5605 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.4209, allocations: 75.73 kB / 0.5606 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.4211, allocations: 111.6 kB / 0.5607 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.4211, allocations: 240 / 0.5607 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.4212, allocations: 47.78 kB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.4213, allocations: 51.81 kB / 0.5608 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.4214, allocations: 4 kB / 0.5608 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.4215, allocations: 28 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.4215, allocations: 27.84 kB / 0.5608 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.4216, allocations: 27.8 kB / 0.5609 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.4218, allocations: 109.4 kB / 0.561 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4218, allocations: 0 / 0.561 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4218, allocations: 0 / 0.561 GB, free: 4.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.4218, allocations: 0 / 0.561 GB, free: 4.25 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.0005727/0.4224, allocations: 337.6 kB / 0.5613 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4224, allocations: 8.031 kB / 0.5613 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.693e-05/0.4224, allocations: 4.188 kB / 0.5613 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.4225, allocations: 34.75 kB / 0.5613 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.4225, allocations: 12.84 kB / 0.5614 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.4228, allocations: 147 kB / 0.5615 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4228, allocations: 8.125 kB / 0.5615 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.4229, allocations: 4 kB / 0.5615 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.423, allocations: 49.67 kB / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.423, allocations: 3.938 kB / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.423, allocations: 3.984 kB / 0.5616 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.423, allocations: 0 / 0.5616 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.4231, allocations: 12 kB / 0.5616 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.4233, allocations: 156.7 kB / 0.5617 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.4235, allocations: 58.5 kB / 0.5618 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.4236, allocations: 20.84 kB / 0.5618 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.4236, allocations: 4 kB / 0.5618 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.4237, allocations: 71.38 kB / 0.5619 GB, free: 3.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4237, allocations: 0 / 0.5619 GB, free: 3.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003182/0.4241, allocations: 101.5 kB / 0.562 GB, free: 3.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4241, allocations: 51.41 kB / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.4243, allocations: 206.2 kB / 0.5622 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4243, allocations: 25.7 kB / 0.5622 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.4244, allocations: 108.1 kB / 0.5623 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4244, allocations: 15.84 kB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.4245, allocations: 21.7 kB / 0.5624 GB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4246, allocations: 326.8 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-05/0.4247, allocations: 12 kB / 0.5627 GB, free: 2.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.4247, allocations: 29.7 kB / 0.5627 GB, free: 2.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.4248, allocations: 49.64 kB / 0.5628 GB, free: 2.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4249, allocations: 3.938 kB / 0.5628 GB, free: 2.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001695/0.425, allocations: 85.59 kB / 0.5629 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.425, allocations: 10.5 kB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.425, allocations: 0 / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.4251, allocations: 0 / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.4252, allocations: 15.92 kB / 0.5629 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4252, allocations: 4.156 kB / 0.5629 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.4252, allocations: 0 / 0.5629 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4252, allocations: 4 kB / 0.5629 GB, free: 2.082 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.0001125/0.4253, allocations: 129.8 kB / 0.563 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.4253, allocations: 7.953 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.4256, allocations: 106.8 kB / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4256, allocations: 0 / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4256, allocations: 0 / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4256, allocations: 4 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.4258, allocations: 160.9 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4258, allocations: 0 / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.4258, allocations: 11.94 kB / 0.5633 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4258, allocations: 0 / 0.5633 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4258, allocations: 7.984 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4258, allocations: 0 / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4258, allocations: 0 / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.426, allocations: 121 kB / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.426, allocations: 15.91 kB / 0.5634 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.4261, allocations: 4 kB / 0.5634 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.4261, allocations: 0 / 0.5634 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4262, allocations: 7.984 kB / 0.5634 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4262, allocations: 0 / 0.5634 GB, free: 1.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.4263, allocations: 152.2 kB / 0.5636 GB, free: 1.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4263, allocations: 0 / 0.5636 GB, free: 1.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.4265, allocations: 19.94 kB / 0.5636 GB, free: 1.262 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.002043/0.4286, allocations: 0.9969 MB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.4287, allocations: 39.92 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4287, allocations: 3.938 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.4288, allocations: 23.98 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4291, allocations: 23.98 kB / 0.5647 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.431, allocations: 1.522 MB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.4311, allocations: 97.31 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.4312, allocations: 12.48 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.4312, allocations: 35.42 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4312, allocations: 0 / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.4557, allocations: 3.508 MB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.79, allocations: 4.062 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.002031392999925] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.00244086701423 12.017558068 11.592429948 Calling exit ...