Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.001679, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002075/0.002075, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 230.5 MB / 258.2 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2409/0.2409, allocations: 46.93 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 79.88 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4251, allocations: 66.08 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.005043/0.4302, allocations: 1.842 MB / 0.5634 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002938/0.4331, allocations: 1.119 MB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.4332, allocations: 3.938 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007/0.4339, allocations: 311.3 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005267/0.4345, allocations: 259.2 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.4347, allocations: 111.6 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.4351, allocations: 267.2 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.4352, allocations: 5.812 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.4354, allocations: 143.5 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.4357, allocations: 211.5 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.4357, allocations: 4 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.4358, allocations: 51.97 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.436, allocations: 143.6 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.4362, allocations: 154.7 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.4366, allocations: 384.1 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4366, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4366, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4366, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.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.001115/0.4378, allocations: 0.6824 MB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4378, allocations: 12.03 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.4379, allocations: 38.67 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.4379, allocations: 52.61 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.4386, allocations: 402.5 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4386, allocations: 4.375 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.4387, allocations: 384 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.4389, allocations: 87.5 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4389, allocations: 4 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4389, allocations: 7.984 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4389, allocations: 3.938 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.439, allocations: 31.98 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.4395, allocations: 353.4 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.4398, allocations: 101.2 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4399, allocations: 37.7 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.44, allocations: 3.984 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.4402, allocations: 116.9 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.4402, allocations: 0 / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005335/0.4407, allocations: 205.2 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.4408, allocations: 81.11 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.4421, allocations: 1.05 MB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4421, allocations: 29.7 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.4423, allocations: 236.1 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.4423, allocations: 31.8 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.4424, allocations: 29.7 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4426, allocations: 374.8 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.4427, allocations: 27.98 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.4428, allocations: 51.42 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4431, allocations: 95.34 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4431, allocations: 0 / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00041/0.4435, allocations: 177.7 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.4435, allocations: 6.656 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4435, allocations: 8.047 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4435, allocations: 11.94 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4437, allocations: 16 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4437, allocations: 3.984 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.4438, allocations: 16 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4438, allocations: 4 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0003123/0.4442, allocations: 227.5 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/0.4442, allocations: 55.56 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.4448, allocations: 201.8 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.4448, allocations: 3.984 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4448, allocations: 0 / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4448, allocations: 0 / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.4452, allocations: 320.5 kB / 0.5714 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4452, allocations: 3.938 kB / 0.5714 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/0.4453, allocations: 15.98 kB / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4453, allocations: 0 / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.4453, allocations: 8 kB / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4453, allocations: 0 / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4453, allocations: 0 / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.4459, allocations: 221.4 kB / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.4461, allocations: 71.53 kB / 0.5717 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.4461, allocations: 0 / 0.5717 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.4463, allocations: 8 kB / 0.5717 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.4463, allocations: 7.984 kB / 0.5717 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.4463, allocations: 12.05 kB / 0.5717 GB, free: 9.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001399/0.4477, allocations: 0.7878 MB / 0.5725 GB, free: 8.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4477, allocations: 0 / 0.5725 GB, free: 8.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.4482, allocations: 40 kB / 0.5726 GB, free: 8.652 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002677/0.4508, allocations: 1.056 MB / 0.5736 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.4512, allocations: 83.97 kB / 0.5737 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4512, allocations: 0 / 0.5737 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4513, allocations: 39.91 kB / 0.5737 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.452, allocations: 70.14 kB / 0.5738 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008758/0.4607, allocations: 4.575 MB / 0.5782 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.4615, allocations: 0.8545 MB / 0.5791 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.4617, allocations: 50.95 kB / 0.5791 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.4619, allocations: 151.4 kB / 0.5793 GB, free: 1.754 MB / 414.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4619, allocations: 0 / 0.5793 GB, free: 1.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04548/0.5074, allocations: 9.297 MB / 0.5883 GB, free: 8.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/9.007, allocations: 7.938 kB / 0.5884 GB, free: 8.457 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.144181693904102] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.152412632945925 9.166829587 8.727178126 Calling exit ...