Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001863/0.001863, allocations: 122.2 kB / 18.5 MB, free: 4.621 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.002336/0.002336, allocations: 219.3 kB / 21.46 MB, free: 1.664 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.52/1.52, allocations: 230.2 MB / 254.5 MB, free: 15.38 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.2295/0.2295, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",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.00229/0.00229, allocations: 80.45 kB / 0.4913 GB, free: 26.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1147, allocations: 65.98 MB / 0.5557 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003084/0.1178, allocations: 1.658 MB / 0.5573 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1196, allocations: 1.214 MB / 0.5585 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.1196, allocations: 0 / 0.5585 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1198, allocations: 31.78 kB / 0.5585 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.1201, allocations: 83.62 kB / 0.5586 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.1205, allocations: 178.9 kB / 0.5588 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1207, allocations: 75.77 kB / 0.5588 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.1208, allocations: 16.22 kB / 0.5589 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.1208, allocations: 35.84 kB / 0.5589 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.121, allocations: 39.83 kB / 0.5589 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.121, allocations: 4 kB / 0.5589 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.1212, allocations: 103.9 kB / 0.559 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1212, allocations: 23.91 kB / 0.5591 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1213, allocations: 31.8 kB / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1215, allocations: 155.5 kB / 0.5592 GB, free: 5.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1215, allocations: 0 / 0.5592 GB, free: 5.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1215, allocations: 3.938 kB / 0.5592 GB, free: 5.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1215, allocations: 0 / 0.5592 GB, free: 5.422 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005768/0.1221, allocations: 426.6 kB / 0.5597 GB, free: 4.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1221, allocations: 12.03 kB / 0.5597 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.1222, allocations: 34.69 kB / 0.5597 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1222, allocations: 8.891 kB / 0.5597 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1225, allocations: 198.7 kB / 0.5599 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1225, allocations: 8.359 kB / 0.5599 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1225, allocations: 4.375 kB / 0.5599 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1227, allocations: 83.88 kB / 0.56 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1227, allocations: 3.938 kB / 0.56 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1227, allocations: 4 kB / 0.56 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1227, allocations: 0 / 0.56 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1228, allocations: 43.95 kB / 0.56 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.1233, allocations: 312.7 kB / 0.5603 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1234, allocations: 50.5 kB / 0.5604 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.559e-05/0.1235, allocations: 24.94 kB / 0.5604 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1235, allocations: 3.984 kB / 0.5604 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1236, allocations: 34.56 kB / 0.5604 GB, free: 4.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.1236, allocations: 0 / 0.5604 GB, free: 4.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008327/0.1244, allocations: 229.4 kB / 0.5607 GB, free: 3.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1244, allocations: 81.11 kB / 0.5607 GB, free: 3.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1246, allocations: 157.6 kB / 0.5609 GB, free: 3.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1246, allocations: 25.7 kB / 0.5609 GB, free: 3.492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.1247, allocations: 104 kB / 0.561 GB, free: 3.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1247, allocations: 19.86 kB / 0.561 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.1248, allocations: 21.7 kB / 0.5611 GB, free: 3.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1249, allocations: 322.8 kB / 0.5614 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.125, allocations: 43.95 kB / 0.5614 GB, free: 2.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1252, allocations: 49.69 kB / 0.5614 GB, free: 2.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.1254, allocations: 88.97 kB / 0.5615 GB, free: 2.828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1254, allocations: 0 / 0.5615 GB, free: 2.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002864/0.1257, allocations: 133.6 kB / 0.5617 GB, free: 2.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1257, allocations: 4 kB / 0.5617 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1257, allocations: 3.938 kB / 0.5617 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1257, allocations: 0 / 0.5617 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1258, allocations: 23.97 kB / 0.5617 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1258, allocations: 0 / 0.5617 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.1259, allocations: 8 kB / 0.5617 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1259, allocations: 7.984 kB / 0.5617 GB, free: 2.645 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 (7): * Single equations (assignments): 7 * 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.0001047/0.126, allocations: 129.7 kB / 0.5618 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.1261, allocations: 12.19 kB / 0.5618 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.1264, allocations: 138.3 kB / 0.562 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1264, allocations: 3.984 kB / 0.562 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1264, allocations: 0 / 0.562 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1264, allocations: 8 kB / 0.562 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.127, allocations: 426.2 kB / 0.5624 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.127, allocations: 0 / 0.5624 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.1271, allocations: 19.98 kB / 0.5624 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1271, allocations: 0 / 0.5624 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1271, allocations: 4 kB / 0.5624 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1271, allocations: 7.938 kB / 0.5624 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1271, allocations: 0 / 0.5624 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.1275, allocations: 227.4 kB / 0.5626 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.1275, allocations: 81.06 kB / 0.5627 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1275, allocations: 0 / 0.5627 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1277, allocations: 27.92 kB / 0.5627 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.1277, allocations: 7.984 kB / 0.5628 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1277, allocations: 0 / 0.5628 GB, free: 1.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1278, allocations: 121.7 kB / 0.5629 GB, free: 1.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1278, allocations: 0 / 0.5629 GB, free: 1.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.1281, allocations: 39.94 kB / 0.5629 GB, free: 1.309 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 (7): * Single equations (assignments): 7 * 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.002252/0.1304, allocations: 1.139 MB / 0.564 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.1307, allocations: 91.86 kB / 0.5641 GB, free: 236 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1307, allocations: 0 / 0.5641 GB, free: 236 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1309, allocations: 47.97 kB / 0.5642 GB, free: 188 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1312, allocations: 19.92 kB / 0.5642 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.1334, allocations: 1.647 MB / 0.5658 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1337, allocations: 0.7117 MB / 0.5665 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.064e-05/0.1338, allocations: 24.7 kB / 0.5665 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.1339, allocations: 39.36 kB / 0.5665 GB, free: 13.63 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1339, allocations: 0 / 0.5665 GB, free: 13.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.1597, allocations: 3.629 MB / 0.5701 GB, free: 10.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.431, allocations: 0 / 0.5701 GB, free: 10.04 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.45453395973891] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.555575811769813 8.573421684 8.448562779 Calling exit ...