Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.001538/0.001538, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001788/0.001788, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.573/1.573, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2373/0.2373, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",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.002256/0.002256, allocations: 83.86 kB / 0.4913 GB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1372, allocations: 65.99 MB / 0.5557 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003557/0.1407, allocations: 1.733 MB / 0.5574 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1426, allocations: 1.042 MB / 0.5585 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.1427, allocations: 4 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.1431, allocations: 75.7 kB / 0.5585 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.1435, allocations: 115.6 kB / 0.5586 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1438, allocations: 87.66 kB / 0.5587 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.144, allocations: 115.7 kB / 0.5588 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1442, allocations: 8 kB / 0.5588 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1443, allocations: 59.72 kB / 0.5589 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1444, allocations: 59.8 kB / 0.559 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1444, allocations: 4 kB / 0.559 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1446, allocations: 47.97 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.1446, allocations: 23.86 kB / 0.559 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.1447, allocations: 47.67 kB / 0.5591 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.145, allocations: 123.4 kB / 0.5592 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.145, allocations: 0 / 0.5592 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.145, allocations: 0 / 0.5592 GB, free: 2.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.145, allocations: 3.938 kB / 0.5592 GB, free: 2.789 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006428/0.1456, allocations: 426.6 kB / 0.5596 GB, free: 2.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1457, allocations: 8.031 kB / 0.5596 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.1457, allocations: 38.75 kB / 0.5596 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1457, allocations: 12.84 kB / 0.5597 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1461, allocations: 216.1 kB / 0.5599 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1461, allocations: 16.36 kB / 0.5599 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1461, allocations: 384 / 0.5599 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1463, allocations: 65.73 kB / 0.5599 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1463, allocations: 0 / 0.5599 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1463, allocations: 0 / 0.5599 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1463, allocations: 0 / 0.5599 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.886e-05/0.1464, allocations: 19.98 kB / 0.56 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.1468, allocations: 284.9 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.147, allocations: 62.61 kB / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.147, allocations: 16.86 kB / 0.5603 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.147, allocations: 0 / 0.5603 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.1472, allocations: 71.38 kB / 0.5604 GB, free: 1.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.1472, allocations: 4 kB / 0.5604 GB, free: 1.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006041/0.1478, allocations: 181.3 kB / 0.5606 GB, free: 1.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.1479, allocations: 51.41 kB / 0.5606 GB, free: 1.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1481, allocations: 231.3 kB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1482, allocations: 25.7 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.1483, allocations: 112.1 kB / 0.561 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.1483, allocations: 23.78 kB / 0.561 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.1483, allocations: 21.72 kB / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1485, allocations: 330.8 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.1486, allocations: 23.98 kB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.1487, allocations: 37.64 kB / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1488, allocations: 57.72 kB / 0.5614 GB, free: 260 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1488, allocations: 3.984 kB / 0.5614 GB, free: 256 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.149, allocations: 105.7 kB / 0.5615 GB, free: 144 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.149, allocations: 8 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.149, allocations: 3.938 kB / 0.5615 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.149, allocations: 384 / 0.5615 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.1491, allocations: 19.98 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1491, allocations: 0 / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.1492, allocations: 8 kB / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1492, allocations: 4 kB / 0.5616 GB, free: 100 kB / 414.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.0001406/0.1493, allocations: 133.8 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1493, allocations: 15.91 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.1494, allocations: 25.39 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1494, allocations: 0 / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1494, allocations: 0 / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1494, allocations: 3.984 kB / 0.5617 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.1499, allocations: 395.3 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1499, allocations: 0 / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.1499, allocations: 11.98 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1499, allocations: 0 / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1499, allocations: 4.031 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.1499, allocations: 7.938 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1499, allocations: 0 / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1502, allocations: 208.4 kB / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.1502, allocations: 85.06 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1503, allocations: 7.922 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.1503, allocations: 15.94 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.1504, allocations: 4 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1504, allocations: 7.984 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.1505, allocations: 161.2 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1505, allocations: 4 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1508, allocations: 23.94 kB / 0.5626 GB, free: 14.89 MB / 430.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.002237/0.153, allocations: 1.087 MB / 0.5637 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1533, allocations: 63.91 kB / 0.5638 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1533, allocations: 0 / 0.5638 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.1534, allocations: 27.92 kB / 0.5638 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.1538, allocations: 34.53 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.1565, allocations: 1.726 MB / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1569, allocations: 0.7041 MB / 0.5662 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.567e-05/0.157, allocations: 21.17 kB / 0.5662 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.1571, allocations: 39.42 kB / 0.5663 GB, free: 11.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1571, allocations: 0 / 0.5663 GB, free: 11.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.1804, allocations: 3.596 MB / 0.5698 GB, free: 7.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.134, allocations: 13.91 kB / 0.5698 GB, free: 7.688 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.290572660975158] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.258241970092058 8.283302128999999 8.133689961 Calling exit ...