Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.001838/0.001838, allocations: 116.5 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.002155/0.002155, allocations: 216.9 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.436/1.436, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2208/0.2208, allocations: 46.88 MB / 357.4 MB, free: 10.48 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.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",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.00224/0.00224, allocations: 75.88 kB / 0.4913 GB, free: 8.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1256, allocations: 65.99 MB / 0.5558 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003542/0.1291, allocations: 1.941 MB / 0.5576 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1312, allocations: 1.127 MB / 0.5587 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1313, allocations: 4 kB / 0.5588 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.1318, allocations: 231.4 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.1324, allocations: 215.2 kB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1327, allocations: 111.6 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.1331, allocations: 255.3 kB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1332, allocations: 29.66 kB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1334, allocations: 123.5 kB / 0.5597 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1336, allocations: 167.5 kB / 0.5598 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1336, allocations: 8 kB / 0.5598 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1338, allocations: 67.97 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.1338, allocations: 63.7 kB / 0.56 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.529e-05/0.1339, allocations: 87.28 kB / 0.5601 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1343, allocations: 246.8 kB / 0.5603 GB, free: 1.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1343, allocations: 0 / 0.5603 GB, free: 1.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1343, allocations: 3.938 kB / 0.5603 GB, free: 1.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1343, allocations: 8 kB / 0.5603 GB, free: 1.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007635/0.1351, allocations: 0.5678 MB / 0.5609 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1351, allocations: 8.031 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.1351, allocations: 42.73 kB / 0.5609 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.1352, allocations: 28.75 kB / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.1356, allocations: 292.2 kB / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1356, allocations: 4.375 kB / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1357, allocations: 8.375 kB / 0.5612 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.1359, allocations: 119.5 kB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1359, allocations: 0 / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1359, allocations: 4 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.136, allocations: 0 / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1361, allocations: 47.91 kB / 0.5614 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.1367, allocations: 480.7 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.1371, allocations: 121.1 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.1372, allocations: 41.83 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1372, allocations: 12.14 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.1375, allocations: 120.4 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1375, allocations: 0 / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001292/0.1388, allocations: 0.5014 MB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.1388, allocations: 81.11 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.1393, allocations: 440.5 kB / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1393, allocations: 37.69 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1395, allocations: 164.4 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.1395, allocations: 63.44 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.1396, allocations: 45.7 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1397, allocations: 350.7 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1399, allocations: 63.91 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.14, allocations: 91.34 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.1403, allocations: 163.4 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1403, allocations: 4 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004175/0.1407, allocations: 229.3 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1407, allocations: 4 kB / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1408, allocations: 8.172 kB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1408, allocations: 0 / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1409, allocations: 47.91 kB / 0.5643 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1409, allocations: 3.984 kB / 0.5643 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.141, allocations: 11.95 kB / 0.5643 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.141, allocations: 12 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000162/0.1412, allocations: 169.8 kB / 0.5645 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.1412, allocations: 31.81 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-05/0.1413, allocations: 42.75 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1413, allocations: 4 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1413, allocations: 3.984 kB / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1413, allocations: 0 / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.1423, allocations: 0.7389 MB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.1423, allocations: 4 kB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.1424, allocations: 31.98 kB / 0.5653 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1424, allocations: 4 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1424, allocations: 4 kB / 0.5654 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1424, allocations: 4 kB / 0.5654 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.1424, allocations: 3.938 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1429, allocations: 432.6 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.143, allocations: 100.9 kB / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.143, allocations: 19.88 kB / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1432, allocations: 7.984 kB / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.1432, allocations: 23.86 kB / 0.5659 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1432, allocations: 11.98 kB / 0.5659 GB, free: 11.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003376/0.1436, allocations: 335 kB / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1436, allocations: 0 / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.1439, allocations: 47.94 kB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002607/0.1465, allocations: 1.358 MB / 0.5676 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.147, allocations: 150.7 kB / 0.5678 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.147, allocations: 0 / 0.5678 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1471, allocations: 79.78 kB / 0.5678 GB, free: 9.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.1477, allocations: 57.77 kB / 0.5679 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.1512, allocations: 2.892 MB / 0.5707 GB, free: 6.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.1517, allocations: 0.7792 MB / 0.5715 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1518, allocations: 41.89 kB / 0.5715 GB, free: 5.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1519, allocations: 99.41 kB / 0.5716 GB, free: 5.426 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1519, allocations: 0 / 0.5716 GB, free: 5.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.1823, allocations: 6.48 MB / 0.5779 GB, free: 15.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/8.703, allocations: 12.05 kB / 0.578 GB, free: 15 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.575658289715648] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.828334379009902 8.856124613 8.716830772 Calling exit ...