Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001344/0.001344, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001599/0.001599, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.591/1.591, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2541/0.2541, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",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.002358/0.002358, allocations: 75.88 kB / 0.4912 GB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1425, allocations: 65.98 MB / 0.5557 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003298/0.1458, allocations: 1.616 MB / 0.5572 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1477, allocations: 1.167 MB / 0.5584 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.1478, allocations: 4 kB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1481, allocations: 23.78 kB / 0.5584 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1484, allocations: 83.62 kB / 0.5585 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1487, allocations: 91.39 kB / 0.5586 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1489, allocations: 67.77 kB / 0.5586 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.149, allocations: 8 kB / 0.5586 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.788e-05/0.149, allocations: 27.91 kB / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1492, allocations: 31.84 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1492, allocations: 4 kB / 0.5587 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.1494, allocations: 103.9 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.1495, allocations: 19.91 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.1495, allocations: 27.81 kB / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1498, allocations: 135.5 kB / 0.559 GB, free: 3.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1498, allocations: 0 / 0.559 GB, free: 3.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1498, allocations: 0 / 0.559 GB, free: 3.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1498, allocations: 0 / 0.559 GB, free: 3.039 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006097/0.1504, allocations: 406.8 kB / 0.5594 GB, free: 2.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1505, allocations: 12.02 kB / 0.5594 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.1505, allocations: 34.75 kB / 0.5594 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1506, allocations: 8.891 kB / 0.5594 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1508, allocations: 192.3 kB / 0.5596 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1508, allocations: 4.375 kB / 0.5596 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1508, allocations: 8.312 kB / 0.5596 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.151, allocations: 63.91 kB / 0.5597 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.151, allocations: 3.938 kB / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1511, allocations: 0 / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.1511, allocations: 0 / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1512, allocations: 23.97 kB / 0.5597 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1516, allocations: 280.8 kB / 0.56 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1518, allocations: 42.5 kB / 0.56 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.1519, allocations: 20.94 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1519, allocations: 0 / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1519, allocations: 34.56 kB / 0.5601 GB, free: 1.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1519, allocations: 0 / 0.5601 GB, free: 1.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006034/0.1525, allocations: 145.4 kB / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.1526, allocations: 77.11 kB / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1528, allocations: 148.2 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1528, allocations: 29.7 kB / 0.5604 GB, free: 1.316 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.1528, allocations: 96.12 kB / 0.5605 GB, free: 1.219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1529, allocations: 19.8 kB / 0.5606 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1529, allocations: 17.72 kB / 0.5606 GB, free: 1.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1531, allocations: 326.8 kB / 0.5609 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.1531, allocations: 15.98 kB / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.1532, allocations: 29.7 kB / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1533, allocations: 60.92 kB / 0.561 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1533, allocations: 0 / 0.561 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001895/0.1535, allocations: 81.62 kB / 0.5611 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1535, allocations: 4 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1535, allocations: 4 kB / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1536, allocations: 0 / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.1536, allocations: 11.98 kB / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1536, allocations: 0 / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.1537, allocations: 11.98 kB / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1537, allocations: 0 / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001034/0.1538, allocations: 121.7 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1538, allocations: 7.953 kB / 0.5612 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.1541, allocations: 89.97 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.1541, allocations: 0 / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1541, allocations: 0 / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1541, allocations: 8 kB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.1546, allocations: 358.4 kB / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1546, allocations: 0 / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.1546, allocations: 11.98 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1546, allocations: 0 / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.1546, allocations: 3.938 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1546, allocations: 4 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1546, allocations: 3.938 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1549, allocations: 179.7 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.155, allocations: 85.05 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.155, allocations: 3.938 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.155, allocations: 4 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.1551, allocations: 15.92 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1551, allocations: 0 / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1552, allocations: 117.3 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1552, allocations: 0 / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1555, allocations: 39.86 kB / 0.5621 GB, free: 15.48 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002434/0.158, allocations: 1.09 MB / 0.5632 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1582, allocations: 47.91 kB / 0.5632 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1582, allocations: 0 / 0.5632 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.1583, allocations: 27.97 kB / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.1587, allocations: 24.81 kB / 0.5633 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.1606, allocations: 1.421 MB / 0.5647 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.161, allocations: 0.6963 MB / 0.5653 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.161, allocations: 16.23 kB / 0.5653 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.1611, allocations: 31.42 kB / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1611, allocations: 0 / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.1888, allocations: 3.246 MB / 0.5685 GB, free: 8.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.313, allocations: 8.703 kB / 0.5686 GB, free: 8.945 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.521786542609334] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.436841850169003 8.466913628 8.311710837 Calling exit ...