Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.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.001861/0.001861, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002176/0.002176, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.578/1.578, 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.2459/0.2459, allocations: 46.87 MB / 357.4 MB, free: 10.53 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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",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.00226/0.00226, allocations: 80.16 kB / 0.4913 GB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1321, allocations: 65.98 MB / 0.5557 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003528/0.1357, allocations: 1.956 MB / 0.5576 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1377, allocations: 1.063 MB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.1379, allocations: 7.938 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.1383, allocations: 47.7 kB / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.1387, allocations: 95.55 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.139, allocations: 99.56 kB / 0.5589 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.1393, allocations: 147.5 kB / 0.559 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1394, allocations: 29.47 kB / 0.5591 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1395, allocations: 55.72 kB / 0.5591 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1396, allocations: 47.72 kB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1397, allocations: 4 kB / 0.5592 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1398, allocations: 55.97 kB / 0.5592 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.1398, allocations: 23.92 kB / 0.5593 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.1399, allocations: 55.61 kB / 0.5593 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1403, allocations: 155.2 kB / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1403, allocations: 0 / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1403, allocations: 0 / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1403, allocations: 0 / 0.5595 GB, free: 2.523 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007751/0.141, allocations: 492.1 kB / 0.5599 GB, free: 1.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1411, allocations: 12.03 kB / 0.5599 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.1411, allocations: 42.73 kB / 0.56 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.1412, allocations: 12.84 kB / 0.56 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1416, allocations: 236.8 kB / 0.5602 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1416, allocations: 4.375 kB / 0.5602 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.1416, allocations: 8.375 kB / 0.5602 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.1419, allocations: 117.5 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1419, allocations: 3.938 kB / 0.5603 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1419, allocations: 4 kB / 0.5603 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.1419, allocations: 0 / 0.5603 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1421, allocations: 43.97 kB / 0.5604 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.1428, allocations: 0.5126 MB / 0.5609 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.1432, allocations: 74.67 kB / 0.561 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.614e-05/0.1433, allocations: 40.83 kB / 0.561 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.1433, allocations: 7.922 kB / 0.561 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.1435, allocations: 83.38 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.1435, allocations: 4 kB / 0.5611 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004268/0.144, allocations: 145.7 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.144, allocations: 51.41 kB / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.1442, allocations: 202.2 kB / 0.5615 GB, free: 236 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.1443, allocations: 33.7 kB / 0.5615 GB, free: 196 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1444, allocations: 120 kB / 0.5616 GB, free: 72 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1444, allocations: 27.75 kB / 0.5616 GB, free: 44 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.1445, allocations: 33.7 kB / 0.5617 GB, free: 4 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1447, allocations: 322.8 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.1448, allocations: 27.98 kB / 0.562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1449, allocations: 75.95 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1451, allocations: 100.2 kB / 0.5622 GB, free: 15.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1451, allocations: 0 / 0.5622 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002815/0.1454, allocations: 141.4 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1454, allocations: 8 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1454, allocations: 0 / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1454, allocations: 4 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1455, allocations: 23.92 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1455, allocations: 7.938 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.1456, allocations: 7.953 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1456, allocations: 11.98 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000139/0.1457, allocations: 128.3 kB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1458, allocations: 19.91 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.1458, allocations: 13.41 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1458, allocations: 0 / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.1458, allocations: 11.92 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1458, allocations: 0 / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.1461, allocations: 213.7 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1461, allocations: 4 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.1461, allocations: 15.88 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.1461, allocations: 8 kB / 0.5628 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1462, allocations: 7.922 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1462, allocations: 0 / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1462, allocations: 3.938 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1466, allocations: 180.9 kB / 0.563 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.1467, allocations: 89.05 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1467, allocations: 7.984 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.1468, allocations: 4.062 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.1468, allocations: 15.92 kB / 0.5631 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.1468, allocations: 4 kB / 0.5631 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.147, allocations: 144.4 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.147, allocations: 4 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1472, allocations: 23.94 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002234/0.1495, allocations: 1.009 MB / 0.5642 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1498, allocations: 75.84 kB / 0.5643 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.1498, allocations: 4 kB / 0.5643 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1499, allocations: 40.16 kB / 0.5643 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1502, allocations: 46.09 kB / 0.5644 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.1525, allocations: 1.756 MB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1529, allocations: 0.7123 MB / 0.5668 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.231e-05/0.153, allocations: 25.41 kB / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.153, allocations: 39.42 kB / 0.5668 GB, free: 10.55 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.153, allocations: 0 / 0.5668 GB, free: 10.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.1815, allocations: 3.855 MB / 0.5706 GB, free: 6.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.153, allocations: 17.53 kB / 0.5706 GB, free: 6.758 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.415700609330088] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.287760420702398 8.301374807 8.158385116 Calling exit ...