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.001259/0.001259, allocations: 114 kB / 18.45 MB, free: 4.598 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.001277/0.001277, allocations: 208.9 kB / 21.41 MB, free: 1.645 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.529/1.529, allocations: 227.4 MB / 251.7 MB, free: 48 kB / 190.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.2328/0.2328, allocations: 46.16 MB / 351.1 MB, free: 14.32 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.002286/0.002286, allocations: 78.66 kB / 489.7 MB, free: 28.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1266, allocations: 62.45 MB / 0.5392 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.00311/0.1298, allocations: 1.615 MB / 0.5408 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1308, allocations: 0.5411 MB / 0.5413 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.1309, allocations: 0 / 0.5413 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1312, allocations: 111.7 kB / 0.5414 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.1315, allocations: 119.6 kB / 0.5415 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1318, allocations: 119.5 kB / 0.5416 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.132, allocations: 87.8 kB / 0.5417 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1321, allocations: 15.94 kB / 0.5417 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.929e-05/0.1322, allocations: 51.81 kB / 0.5418 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1323, allocations: 63.81 kB / 0.5418 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.1323, allocations: 4 kB / 0.5419 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1325, allocations: 47.98 kB / 0.5419 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1325, allocations: 23.86 kB / 0.5419 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.1326, allocations: 39.73 kB / 0.542 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1328, allocations: 111.5 kB / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1328, allocations: 0 / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1328, allocations: 0 / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1328, allocations: 0 / 0.5421 GB, free: 1.797 MB / 398.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.0005326/0.1333, allocations: 446.5 kB / 0.5425 GB, free: 1.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1334, allocations: 8.031 kB / 0.5425 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1334, allocations: 30.75 kB / 0.5425 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1335, allocations: 16.89 kB / 0.5425 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1337, allocations: 212.9 kB / 0.5427 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1337, allocations: 4.359 kB / 0.5428 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1337, allocations: 4.375 kB / 0.5428 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1339, allocations: 50.25 kB / 0.5428 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1339, allocations: 11.83 kB / 0.5428 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1339, allocations: 8 kB / 0.5428 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1339, allocations: 0 / 0.5428 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.134, allocations: 27.97 kB / 0.5428 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.1344, allocations: 300.8 kB / 0.5431 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1346, allocations: 50.5 kB / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.1346, allocations: 20.94 kB / 0.5432 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1347, allocations: 3.984 kB / 0.5432 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1347, allocations: 34.56 kB / 0.5432 GB, free: 424 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1347, allocations: 0 / 0.5432 GB, free: 424 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008924/0.1356, allocations: 253.2 kB / 0.5435 GB, free: 164 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1357, allocations: 51.41 kB / 0.5435 GB, free: 100 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.136, allocations: 258.1 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.136, allocations: 25.7 kB / 0.5438 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.1361, allocations: 112.1 kB / 0.5439 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1361, allocations: 31.73 kB / 0.5439 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.1362, allocations: 21.66 kB / 0.544 GB, free: 15.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1363, allocations: 330.8 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.1364, allocations: 31.97 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.591e-05/0.1365, allocations: 35.92 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1367, allocations: 76.75 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1367, allocations: 0 / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000227/0.1369, allocations: 109.6 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1369, allocations: 8 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1369, allocations: 0 / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.137, allocations: 4 kB / 0.5445 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.1371, allocations: 15.98 kB / 0.5445 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1371, allocations: 0 / 0.5445 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.1371, allocations: 12 kB / 0.5446 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1372, allocations: 11.92 kB / 0.5446 GB, free: 14.99 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.0001049/0.1373, allocations: 133.8 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1373, allocations: 19.91 kB / 0.5447 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.1376, allocations: 127 kB / 0.5448 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1376, allocations: 0 / 0.5448 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1376, allocations: 0 / 0.5448 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1377, allocations: 3.984 kB / 0.5448 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.1382, allocations: 431.6 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1382, allocations: 4.031 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.1383, allocations: 23.92 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1383, allocations: 0 / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1383, allocations: 3.938 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1384, allocations: 4.078 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1384, allocations: 3.984 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.1387, allocations: 216.3 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.1387, allocations: 85.06 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.1388, allocations: 7.938 kB / 0.5456 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.1388, allocations: 4 kB / 0.5456 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.1389, allocations: 11.92 kB / 0.5456 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1389, allocations: 4 kB / 0.5456 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.1391, allocations: 188.4 kB / 0.5458 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.1391, allocations: 0 / 0.5458 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1393, allocations: 31.88 kB / 0.5458 GB, free: 13.6 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.002145/0.1415, allocations: 1.098 MB / 0.5469 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.1418, allocations: 79.88 kB / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1418, allocations: 0 / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1419, allocations: 43.97 kB / 0.547 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1423, allocations: 26.36 kB / 0.547 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.1446, allocations: 1.806 MB / 0.5488 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.145, allocations: 0.7197 MB / 0.5495 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.225e-05/0.1451, allocations: 24.95 kB / 0.5495 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.1452, allocations: 35.42 kB / 0.5496 GB, free: 9.801 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1452, allocations: 4 kB / 0.5496 GB, free: 9.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1692, allocations: 3.327 MB / 0.5528 GB, free: 6.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.208, allocations: 1.078 kB / 0.5528 GB, free: 6.57 MB / 414.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.237716486211866] 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.336895410902798 8.359840682 8.223636775 Calling exit ...