Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001242/0.001242, 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.001387/0.001387, allocations: 214.1 kB / 24.52 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.449/1.449, 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.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.235/0.235, allocations: 44.93 MB / 359.6 MB, free: 6.074 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.002134/0.002134, allocations: 63.89 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4044, allocations: 65.46 MB / 0.5578 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003853/0.4082, allocations: 1.729 MB / 0.5595 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.4102, allocations: 0.9677 MB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.584e-05/0.4103, allocations: 3.938 kB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.4107, allocations: 107.7 kB / 0.5605 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.4111, allocations: 127.5 kB / 0.5607 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.4113, allocations: 83.67 kB / 0.5607 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.4115, allocations: 127.6 kB / 0.5609 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4116, allocations: 17.8 kB / 0.5609 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.4117, allocations: 55.78 kB / 0.5609 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.4118, allocations: 75.72 kB / 0.561 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.4119, allocations: 4 kB / 0.561 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.412, allocations: 63.97 kB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.4121, allocations: 23.92 kB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.4121, allocations: 31.73 kB / 0.5611 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.4124, allocations: 159.3 kB / 0.5613 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4124, allocations: 0 / 0.5613 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4124, allocations: 4 kB / 0.5613 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.4124, allocations: 0 / 0.5613 GB, free: 3.969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006767/0.4131, allocations: 377.3 kB / 0.5616 GB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4131, allocations: 12.03 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.438e-05/0.4131, allocations: 192 / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.4132, allocations: 38.75 kB / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.4132, allocations: 12.84 kB / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.4135, allocations: 162.4 kB / 0.5619 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4136, allocations: 12.11 kB / 0.5619 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.4136, allocations: 11.89 kB / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.4138, allocations: 65.66 kB / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4138, allocations: 0 / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4138, allocations: 0 / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4138, allocations: 0 / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-05/0.4139, allocations: 31.97 kB / 0.562 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.4143, allocations: 275.8 kB / 0.5622 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.4146, allocations: 62.48 kB / 0.5623 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.4147, allocations: 20.98 kB / 0.5623 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.4147, allocations: 4 kB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.4149, allocations: 75.44 kB / 0.5624 GB, free: 2.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.4149, allocations: 0 / 0.5624 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008487/0.4157, allocations: 261.5 kB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4158, allocations: 55.34 kB / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.4161, allocations: 250.8 kB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.4161, allocations: 29.7 kB / 0.563 GB, free: 2.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.4162, allocations: 116.1 kB / 0.5631 GB, free: 1.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.4162, allocations: 39.67 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.4163, allocations: 33.66 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4164, allocations: 326.8 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.4165, allocations: 27.98 kB / 0.5635 GB, free: 1.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.4166, allocations: 49.69 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.4168, allocations: 81.75 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4168, allocations: 3.938 kB / 0.5636 GB, free: 1.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002359/0.417, allocations: 133.5 kB / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.417, allocations: 4 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.417, allocations: 8.031 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4171, allocations: 3.938 kB / 0.5637 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.4171, allocations: 19.94 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.4172, allocations: 7.984 kB / 0.5638 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.4172, allocations: 4 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4172, allocations: 4 kB / 0.5638 GB, free: 1.188 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 (13): * Single equations (assignments): 13 * 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.0001353/0.4173, allocations: 137.8 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4174, allocations: 15.91 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.4177, allocations: 154.9 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4177, allocations: 7.938 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4177, allocations: 4 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4177, allocations: 0 / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.4183, allocations: 427.1 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4183, allocations: 0 / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.4184, allocations: 15.98 kB / 0.5645 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4184, allocations: 4 kB / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4184, allocations: 0 / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4184, allocations: 8 kB / 0.5645 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4184, allocations: 0 / 0.5645 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.4187, allocations: 249.1 kB / 0.5648 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.4187, allocations: 15.91 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.4188, allocations: 4 kB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.4188, allocations: 4 kB / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.4189, allocations: 19.91 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4189, allocations: 4 kB / 0.5648 GB, free: 40 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.4191, allocations: 196.3 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4191, allocations: 96 / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.4194, allocations: 31.88 kB / 0.565 GB, free: 15.81 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.002575/0.422, allocations: 1.232 MB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.4222, allocations: 71.91 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4222, allocations: 0 / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.4223, allocations: 43.92 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.4227, allocations: 37.52 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.425, allocations: 1.911 MB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.4251, allocations: 105.1 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.485e-05/0.4252, allocations: 24.62 kB / 0.5684 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.4253, allocations: 43.42 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4253, allocations: 4 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.4522, allocations: 4.398 MB / 0.5727 GB, free: 8.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.98, allocations: 4.062 kB / 0.5727 GB, free: 8.129 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.058149026008323] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 12.228616816923022 12.244822207 11.829347066 Calling exit ...