Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.00166/0.00166, allocations: 112.5 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.001809/0.001809, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2473/0.2473, allocations: 44.92 MB / 359.6 MB, free: 6.285 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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001988/0.001988, allocations: 67.91 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4189, allocations: 65.47 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00477/0.4236, allocations: 1.751 MB / 0.5596 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.4267, allocations: 1.739 MB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.4268, allocations: 4 kB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.4272, allocations: 39.77 kB / 0.5613 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.4276, allocations: 99.53 kB / 0.5614 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.4279, allocations: 83.66 kB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.4281, allocations: 103.7 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.4282, allocations: 13.97 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.4283, allocations: 51.77 kB / 0.5616 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.4285, allocations: 47.77 kB / 0.5617 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.4285, allocations: 4 kB / 0.5617 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.4288, allocations: 104 kB / 0.5618 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.4288, allocations: 27.84 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.4289, allocations: 35.8 kB / 0.5619 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.4292, allocations: 171.3 kB / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4292, allocations: 0 / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4292, allocations: 0 / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4292, allocations: 0 / 0.562 GB, free: 3.473 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.0006596/0.4299, allocations: 345.5 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4299, allocations: 12.03 kB / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.498e-05/0.43, allocations: 192 / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.43, allocations: 42.69 kB / 0.5624 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.4301, allocations: 16.83 kB / 0.5624 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.4304, allocations: 156.2 kB / 0.5626 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4304, allocations: 7.938 kB / 0.5626 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.4304, allocations: 0 / 0.5626 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.4306, allocations: 67.39 kB / 0.5626 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4306, allocations: 0 / 0.5626 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4307, allocations: 3.984 kB / 0.5626 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4307, allocations: 4 kB / 0.5626 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.581e-05/0.4307, allocations: 23.94 kB / 0.5627 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.4312, allocations: 259.9 kB / 0.5629 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.4314, allocations: 54.67 kB / 0.563 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.4314, allocations: 12.86 kB / 0.563 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.4314, allocations: 8 kB / 0.563 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.4316, allocations: 67.33 kB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4316, allocations: 0 / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005793/0.4322, allocations: 181.3 kB / 0.5632 GB, free: 2.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4323, allocations: 81.11 kB / 0.5633 GB, free: 1.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4324, allocations: 162.1 kB / 0.5635 GB, free: 1.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.4325, allocations: 33.7 kB / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.4325, allocations: 100.1 kB / 0.5636 GB, free: 1.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.4326, allocations: 27.75 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.4326, allocations: 25.7 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4328, allocations: 326.8 kB / 0.5639 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.4328, allocations: 12 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.4329, allocations: 42.56 kB / 0.564 GB, free: 1.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.433, allocations: 66.05 kB / 0.5641 GB, free: 1.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.433, allocations: 4 kB / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.4332, allocations: 97.56 kB / 0.5642 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4332, allocations: 4 kB / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4332, allocations: 4 kB / 0.5642 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4333, allocations: 7.938 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.4333, allocations: 16 kB / 0.5642 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4333, allocations: 4.031 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.4334, allocations: 7.984 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.4334, allocations: 4 kB / 0.5642 GB, free: 1.012 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 (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.0001048/0.4335, allocations: 117.8 kB / 0.5643 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.4335, allocations: 7.953 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4338, allocations: 114.3 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4338, allocations: 11.88 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4338, allocations: 0 / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4338, allocations: 4 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.4343, allocations: 370.5 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4343, allocations: 0 / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.4343, allocations: 11.98 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4344, allocations: 4 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.4344, allocations: 7.984 kB / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4344, allocations: 0 / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4344, allocations: 0 / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.4346, allocations: 208.3 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.4347, allocations: 11.95 kB / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.4347, allocations: 7.984 kB / 0.565 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.4348, allocations: 192 / 0.565 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.4348, allocations: 11.98 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.4348, allocations: 7.938 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.435, allocations: 127.2 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.435, allocations: 0 / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.4354, allocations: 47.86 kB / 0.5652 GB, free: 15.87 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 (8): * Single equations (assignments): 6 * 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.002724/0.4381, allocations: 1.193 MB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.4383, allocations: 55.92 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4383, allocations: 0 / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.4384, allocations: 23.98 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.4389, allocations: 30.47 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.441, allocations: 1.596 MB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4414, allocations: 0.704 MB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.243e-05/0.4414, allocations: 25.27 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.4415, allocations: 31.42 kB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4415, allocations: 0 / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.4673, allocations: 4.236 MB / 0.5729 GB, free: 8.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.56, allocations: 12 kB / 0.5729 GB, free: 8.086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.800629935984034] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.778537473001052 11.79419254 11.361590205 Calling exit ...