Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001162/0.001162, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001497/0.001497, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.469/1.469, 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.2394/0.2394, allocations: 46.89 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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",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.002244/0.002244, allocations: 77.31 kB / 0.4912 GB, free: 26.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 65.97 MB / 0.5557 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003188/0.129, allocations: 1.636 MB / 0.5573 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1301, allocations: 0.5528 MB / 0.5578 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.1301, allocations: 3.938 kB / 0.5578 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.1305, allocations: 115.7 kB / 0.5579 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.1308, allocations: 131.5 kB / 0.5581 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1311, allocations: 107.6 kB / 0.5582 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1313, allocations: 103.7 kB / 0.5583 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1314, allocations: 15.92 kB / 0.5583 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.1315, allocations: 51.88 kB / 0.5583 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1316, allocations: 91.77 kB / 0.5584 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1316, allocations: 0 / 0.5584 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1317, allocations: 55.86 kB / 0.5585 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.1318, allocations: 27.91 kB / 0.5585 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.1318, allocations: 31.69 kB / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1321, allocations: 131.5 kB / 0.5586 GB, free: 6.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1321, allocations: 0 / 0.5586 GB, free: 6.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1321, allocations: 4 kB / 0.5586 GB, free: 6.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1321, allocations: 0 / 0.5586 GB, free: 6.078 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.0006202/0.1327, allocations: 438.5 kB / 0.5591 GB, free: 5.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1327, allocations: 12.03 kB / 0.5591 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.1328, allocations: 34.69 kB / 0.5591 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1328, allocations: 20.84 kB / 0.5591 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1331, allocations: 215.8 kB / 0.5593 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1331, allocations: 8.375 kB / 0.5593 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.1331, allocations: 384 / 0.5593 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1333, allocations: 54.23 kB / 0.5594 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1333, allocations: 7.938 kB / 0.5594 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1333, allocations: 0 / 0.5594 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1333, allocations: 0 / 0.5594 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1334, allocations: 31.91 kB / 0.5594 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.1339, allocations: 312.8 kB / 0.5597 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.134, allocations: 42.56 kB / 0.5598 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.1341, allocations: 24.92 kB / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1341, allocations: 0 / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.1341, allocations: 34.5 kB / 0.5598 GB, free: 4.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1341, allocations: 0 / 0.5598 GB, free: 4.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009127/0.135, allocations: 253.1 kB / 0.5601 GB, free: 4.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1351, allocations: 51.41 kB / 0.5601 GB, free: 4.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.1354, allocations: 279.7 kB / 0.5604 GB, free: 4.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1354, allocations: 29.64 kB / 0.5604 GB, free: 4.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.1355, allocations: 120.1 kB / 0.5605 GB, free: 3.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1355, allocations: 27.75 kB / 0.5606 GB, free: 3.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.1355, allocations: 21.72 kB / 0.5606 GB, free: 3.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1357, allocations: 334.8 kB / 0.5609 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.1358, allocations: 23.98 kB / 0.5609 GB, free: 3.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.1358, allocations: 40.03 kB / 0.561 GB, free: 3.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.136, allocations: 76.89 kB / 0.561 GB, free: 3.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.136, allocations: 4 kB / 0.561 GB, free: 3.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000236/0.1362, allocations: 121.5 kB / 0.5611 GB, free: 3.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1363, allocations: 5.719 kB / 0.5612 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1363, allocations: 0 / 0.5612 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1363, allocations: 0 / 0.5612 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.1364, allocations: 19.98 kB / 0.5612 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1364, allocations: 0 / 0.5612 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.1364, allocations: 8 kB / 0.5612 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1364, allocations: 3.938 kB / 0.5612 GB, free: 3.234 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 (8): * Single equations (assignments): 8 * 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.0001142/0.1365, allocations: 133.8 kB / 0.5613 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.1366, allocations: 15.91 kB / 0.5613 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.1369, allocations: 135 kB / 0.5615 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1369, allocations: 4 kB / 0.5615 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1369, allocations: 0 / 0.5615 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1369, allocations: 4 kB / 0.5615 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.1375, allocations: 435.2 kB / 0.5619 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1375, allocations: 0 / 0.5619 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.1375, allocations: 19.98 kB / 0.5619 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1375, allocations: 0 / 0.5619 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1375, allocations: 3.938 kB / 0.5619 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1375, allocations: 4 kB / 0.5619 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1375, allocations: 7.969 kB / 0.5619 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.1378, allocations: 212.7 kB / 0.5621 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.1379, allocations: 89.02 kB / 0.5622 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1379, allocations: 7.938 kB / 0.5622 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.138, allocations: 4 kB / 0.5622 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.138, allocations: 15.97 kB / 0.5622 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.138, allocations: 7.938 kB / 0.5622 GB, free: 2.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.1382, allocations: 205.5 kB / 0.5624 GB, free: 1.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1382, allocations: 0 / 0.5624 GB, free: 1.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1385, allocations: 27.92 kB / 0.5625 GB, free: 1.816 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00211/0.1406, allocations: 1.103 MB / 0.5635 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1408, allocations: 79.88 kB / 0.5636 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1408, allocations: 0 / 0.5636 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.1409, allocations: 31.98 kB / 0.5636 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1413, allocations: 23.77 kB / 0.5637 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1435, allocations: 1.864 MB / 0.5655 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1438, allocations: 0.7236 MB / 0.5662 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.1439, allocations: 20.95 kB / 0.5662 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.144, allocations: 47.42 kB / 0.5663 GB, free: 13.95 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.144, allocations: 0 / 0.5663 GB, free: 13.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.1698, allocations: 3.475 MB / 0.5696 GB, free: 10.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.359, allocations: 10.23 kB / 0.5697 GB, free: 10.54 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.298240084666759] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.48515437496826 8.512835644 8.375736979 Calling exit ...