Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001398/0.001398, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001451/0.001451, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.528/1.528, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2427/0.2427, 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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",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.002381/0.002381, allocations: 79.88 kB / 0.4912 GB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1366, allocations: 65.98 MB / 0.5557 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003791/0.1404, allocations: 1.622 MB / 0.5573 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1416, allocations: 0.5527 MB / 0.5578 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.1416, allocations: 8 kB / 0.5578 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1419, allocations: 111.7 kB / 0.5579 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1422, allocations: 107.6 kB / 0.558 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1425, allocations: 115.7 kB / 0.5581 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1427, allocations: 91.73 kB / 0.5582 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1428, allocations: 19.98 kB / 0.5582 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.1429, allocations: 43.83 kB / 0.5583 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1431, allocations: 71.8 kB / 0.5583 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1431, allocations: 4 kB / 0.5584 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1432, allocations: 43.98 kB / 0.5584 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.1432, allocations: 19.92 kB / 0.5584 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.1433, allocations: 51.59 kB / 0.5585 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1435, allocations: 111.5 kB / 0.5586 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1435, allocations: 4 kB / 0.5586 GB, free: 3.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1435, allocations: 0 / 0.5586 GB, free: 3.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1435, allocations: 7.984 kB / 0.5586 GB, free: 3.465 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.0006346/0.1442, allocations: 426.6 kB / 0.559 GB, free: 2.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.1442, allocations: 8.031 kB / 0.559 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.1443, allocations: 38.73 kB / 0.559 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.1443, allocations: 12.89 kB / 0.559 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1446, allocations: 204.9 kB / 0.5592 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1446, allocations: 12.38 kB / 0.5593 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1446, allocations: 4.312 kB / 0.5593 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1448, allocations: 62.23 kB / 0.5593 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.1448, allocations: 11.88 kB / 0.5593 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1448, allocations: 0 / 0.5593 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1449, allocations: 0 / 0.5593 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.145, allocations: 23.98 kB / 0.5593 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1454, allocations: 308.8 kB / 0.5596 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1456, allocations: 46.66 kB / 0.5597 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.1456, allocations: 16.84 kB / 0.5597 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1456, allocations: 0 / 0.5597 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1457, allocations: 34.55 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1457, allocations: 3.938 kB / 0.5597 GB, free: 2.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009623/0.1466, allocations: 253.1 kB / 0.56 GB, free: 1.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1467, allocations: 55.34 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.1469, allocations: 254.1 kB / 0.5603 GB, free: 1.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.147, allocations: 25.7 kB / 0.5603 GB, free: 1.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.1471, allocations: 116.2 kB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1471, allocations: 31.73 kB / 0.5604 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1471, allocations: 21.72 kB / 0.5605 GB, free: 1.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1473, allocations: 326.8 kB / 0.5608 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.1474, allocations: 31.97 kB / 0.5608 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.1475, allocations: 31.98 kB / 0.5608 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1476, allocations: 72.81 kB / 0.5609 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1476, allocations: 0 / 0.5609 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002527/0.1479, allocations: 117.5 kB / 0.561 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1479, allocations: 4 kB / 0.561 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1479, allocations: 0 / 0.561 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1479, allocations: 4 kB / 0.561 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.148, allocations: 15.98 kB / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.148, allocations: 0 / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.1481, allocations: 7.984 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1481, allocations: 11.94 kB / 0.5611 GB, free: 0.6836 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.0001175/0.1482, allocations: 129.8 kB / 0.5612 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1482, allocations: 19.91 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.1486, allocations: 139.2 kB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1486, allocations: 0 / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1486, allocations: 0 / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1486, allocations: 0 / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.1492, allocations: 435.2 kB / 0.5618 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1492, allocations: 0 / 0.5618 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.1493, allocations: 23.98 kB / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1493, allocations: 0 / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1493, allocations: 11.81 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1493, allocations: 4 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1493, allocations: 0 / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1495, allocations: 220.2 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.1496, allocations: 85.06 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1496, allocations: 3.938 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.1497, allocations: 8 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1497, allocations: 7.984 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1497, allocations: 4 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.1499, allocations: 188.4 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1499, allocations: 4 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1502, allocations: 19.94 kB / 0.5623 GB, free: 15.29 MB / 430.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.002426/0.1526, allocations: 1.106 MB / 0.5634 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.1529, allocations: 63.95 kB / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1529, allocations: 0 / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.153, allocations: 55.83 kB / 0.5635 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1534, allocations: 26.86 kB / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.1558, allocations: 1.803 MB / 0.5653 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1561, allocations: 0.7197 MB / 0.566 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.1562, allocations: 16.66 kB / 0.566 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.924e-05/0.1563, allocations: 39.42 kB / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1563, allocations: 0 / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.1829, allocations: 3.362 MB / 0.5693 GB, free: 8.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.206, allocations: 7.5 kB / 0.5693 GB, free: 8.191 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.290232175961137] 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.328938825055957 8.343811808 8.197297748 Calling exit ...