Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001904/0.001904, allocations: 118.7 kB / 18.5 MB, free: 4.598 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.002406/0.002406, allocations: 210.5 kB / 21.46 MB, free: 1.645 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.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2389/0.2389, allocations: 46.89 MB / 357.4 MB, free: 10.55 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",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.002315/0.002315, allocations: 82.61 kB / 0.4912 GB, free: 27.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1187, allocations: 65.98 MB / 0.5557 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003104/0.1219, allocations: 1.607 MB / 0.5572 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1229, allocations: 0.545 MB / 0.5578 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.1229, allocations: 4 kB / 0.5578 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1231, allocations: 27.78 kB / 0.5578 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1234, allocations: 75.69 kB / 0.5579 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1237, allocations: 111.2 kB / 0.558 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1238, allocations: 67.81 kB / 0.558 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.1239, allocations: 12.22 kB / 0.5581 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.124, allocations: 19.92 kB / 0.5581 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.124, allocations: 27.86 kB / 0.5581 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1241, allocations: 0 / 0.5581 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.1241, allocations: 35.98 kB / 0.5581 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1242, allocations: 19.86 kB / 0.5582 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.1242, allocations: 19.88 kB / 0.5582 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1244, allocations: 91.52 kB / 0.5583 GB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1244, allocations: 0 / 0.5583 GB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1244, allocations: 0 / 0.5583 GB, free: 6.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1244, allocations: 0 / 0.5583 GB, free: 6.594 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.000522/0.1249, allocations: 386.9 kB / 0.5586 GB, free: 6.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.125, allocations: 16.03 kB / 0.5586 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.125, allocations: 34.75 kB / 0.5587 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.125, allocations: 8.891 kB / 0.5587 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1252, allocations: 184.3 kB / 0.5589 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1253, allocations: 384 / 0.5589 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1253, allocations: 4.375 kB / 0.5589 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1254, allocations: 46.19 kB / 0.5589 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1255, allocations: 3.938 kB / 0.5589 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1255, allocations: 8 kB / 0.5589 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1255, allocations: 4 kB / 0.5589 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.911e-05/0.1256, allocations: 23.97 kB / 0.5589 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.126, allocations: 288.8 kB / 0.5592 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1262, allocations: 42.5 kB / 0.5593 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.1263, allocations: 20.94 kB / 0.5593 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1263, allocations: 4 kB / 0.5593 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1263, allocations: 34.56 kB / 0.5593 GB, free: 5.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1263, allocations: 0 / 0.5593 GB, free: 5.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005742/0.1269, allocations: 153.3 kB / 0.5595 GB, free: 5.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1269, allocations: 51.41 kB / 0.5595 GB, free: 5.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1271, allocations: 156.5 kB / 0.5597 GB, free: 4.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1271, allocations: 29.7 kB / 0.5597 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.1272, allocations: 92.12 kB / 0.5598 GB, free: 4.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1272, allocations: 23.78 kB / 0.5598 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1273, allocations: 17.72 kB / 0.5598 GB, free: 4.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1274, allocations: 326.8 kB / 0.5601 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.1275, allocations: 19.98 kB / 0.5602 GB, free: 4.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.1276, allocations: 23.98 kB / 0.5602 GB, free: 4.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1277, allocations: 52.77 kB / 0.5602 GB, free: 4.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1277, allocations: 3.984 kB / 0.5602 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.1279, allocations: 89.81 kB / 0.5603 GB, free: 4.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1279, allocations: 4 kB / 0.5603 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1279, allocations: 0 / 0.5603 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1279, allocations: 0 / 0.5603 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.128, allocations: 19.98 kB / 0.5603 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.128, allocations: 0 / 0.5603 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.1281, allocations: 11.92 kB / 0.5603 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.1281, allocations: 0 / 0.5603 GB, free: 4.215 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.0001147/0.1282, allocations: 117.8 kB / 0.5605 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1282, allocations: 7.953 kB / 0.5605 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.1285, allocations: 101.9 kB / 0.5606 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1285, allocations: 4 kB / 0.5606 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1285, allocations: 0 / 0.5606 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1285, allocations: 4 kB / 0.5606 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.129, allocations: 354.4 kB / 0.5609 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.129, allocations: 0 / 0.5609 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.129, allocations: 11.98 kB / 0.5609 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.129, allocations: 3.938 kB / 0.5609 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1291, allocations: 4 kB / 0.5609 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1291, allocations: 4 kB / 0.5609 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1291, allocations: 3.938 kB / 0.5609 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.1293, allocations: 183.5 kB / 0.5611 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.1294, allocations: 81.06 kB / 0.5612 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1294, allocations: 256 / 0.5612 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.1295, allocations: 11.98 kB / 0.5612 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.1295, allocations: 11.88 kB / 0.5612 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1295, allocations: 4 kB / 0.5612 GB, free: 3.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1296, allocations: 121.7 kB / 0.5613 GB, free: 3.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1296, allocations: 0 / 0.5613 GB, free: 3.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1298, allocations: 12 kB / 0.5613 GB, free: 3.086 MB / 414.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.002011/0.1319, allocations: 1.009 MB / 0.5623 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1321, allocations: 51.89 kB / 0.5624 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1321, allocations: 0 / 0.5624 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.1322, allocations: 28.11 kB / 0.5624 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1325, allocations: 30.8 kB / 0.5624 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1345, allocations: 1.469 MB / 0.5639 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.1349, allocations: 0.7001 MB / 0.5646 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.135, allocations: 19.83 kB / 0.5646 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.1351, allocations: 23.44 kB / 0.5646 GB, free: 15.77 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1351, allocations: 0 / 0.5646 GB, free: 15.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.1578, allocations: 2.592 MB / 0.5671 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.202, allocations: 12.95 kB / 0.5671 GB, free: 13.23 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.22141803568229] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.330056881066412 8.353327259 8.224478313 Calling exit ...