Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001268/0.001268, 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.001374/0.001374, 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.542/1.542, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2338/0.2338, allocations: 46.88 MB / 357.4 MB, free: 10.5 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",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.002304/0.002304, allocations: 83.86 kB / 0.4912 GB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1271, allocations: 65.98 MB / 0.5557 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003111/0.1302, allocations: 1.614 MB / 0.5572 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1313, allocations: 0.545 MB / 0.5578 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1314, allocations: 4 kB / 0.5578 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.1316, allocations: 19.86 kB / 0.5578 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1319, allocations: 83.61 kB / 0.5579 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1322, allocations: 111.2 kB / 0.558 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1324, allocations: 63.83 kB / 0.558 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1325, allocations: 8 kB / 0.5581 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.1325, allocations: 27.91 kB / 0.5581 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.1326, allocations: 19.86 kB / 0.5581 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1326, allocations: 11.88 kB / 0.5581 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/0.1327, allocations: 35.98 kB / 0.5581 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1328, allocations: 11.94 kB / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.1328, allocations: 23.8 kB / 0.5582 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.133, allocations: 79.66 kB / 0.5583 GB, free: 3.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.133, allocations: 4 kB / 0.5583 GB, free: 3.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.133, allocations: 0 / 0.5583 GB, free: 3.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.133, allocations: 0 / 0.5583 GB, free: 3.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005258/0.1335, allocations: 387 kB / 0.5586 GB, free: 3.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1336, allocations: 8.031 kB / 0.5586 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.1336, allocations: 42.69 kB / 0.5587 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1336, allocations: 8.891 kB / 0.5587 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1339, allocations: 196.2 kB / 0.5589 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1339, allocations: 384 / 0.5589 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1339, allocations: 4.375 kB / 0.5589 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.134, allocations: 46.25 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.134, allocations: 3.938 kB / 0.5589 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.134, allocations: 0 / 0.5589 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1341, allocations: 7.984 kB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.285e-05/0.1341, allocations: 27.97 kB / 0.559 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.1346, allocations: 284.8 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1348, allocations: 42.55 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.1348, allocations: 16.86 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1349, allocations: 0 / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1349, allocations: 34.66 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1349, allocations: 0 / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005748/0.1355, allocations: 153.4 kB / 0.5595 GB, free: 2.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1355, allocations: 55.39 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1357, allocations: 146.2 kB / 0.5597 GB, free: 2.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1357, allocations: 25.7 kB / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.1357, allocations: 104.1 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1358, allocations: 19.8 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.1358, allocations: 17.72 kB / 0.5598 GB, free: 1.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.136, allocations: 326.8 kB / 0.5601 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.136, allocations: 19.98 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/0.1361, allocations: 20.17 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1362, allocations: 60.81 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1362, allocations: 0 / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001891/0.1364, allocations: 85.62 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1364, allocations: 4 kB / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1364, allocations: 0 / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1365, allocations: 0 / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.1365, allocations: 23.86 kB / 0.5603 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1365, allocations: 0 / 0.5603 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.1366, allocations: 11.98 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1366, allocations: 0 / 0.5603 GB, free: 1.348 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 (5): * Single equations (assignments): 5 * 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 9.581e-05/0.1367, allocations: 117.8 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.1367, allocations: 11.89 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.137, allocations: 97.95 kB / 0.5606 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.137, allocations: 0 / 0.5606 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.137, allocations: 0 / 0.5606 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.137, allocations: 4 kB / 0.5606 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.1374, allocations: 362.4 kB / 0.5609 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1374, allocations: 0 / 0.5609 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.1375, allocations: 11.98 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1375, allocations: 0 / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.1375, allocations: 4.188 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1375, allocations: 8 kB / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1375, allocations: 3.938 kB / 0.5609 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1378, allocations: 187.4 kB / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.1378, allocations: 81.06 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1378, allocations: 0 / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1379, allocations: 7.984 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1379, allocations: 11.94 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.138, allocations: 0 / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of sorting global known variables: time 9.688e-05/0.138, allocations: 121.1 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.138, allocations: 0 / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1383, allocations: 15.94 kB / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001988/0.1403, allocations: 1.013 MB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1405, allocations: 55.95 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1405, allocations: 0 / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/0.1406, allocations: 23.98 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1409, allocations: 30.28 kB / 0.5624 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1427, allocations: 1.472 MB / 0.5639 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1431, allocations: 0.6963 MB / 0.5646 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.1431, allocations: 15.77 kB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.1432, allocations: 27.42 kB / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1432, allocations: 0 / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.167, allocations: 2.589 MB / 0.5671 GB, free: 10.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.075, allocations: 14.03 kB / 0.5671 GB, free: 10.36 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.076584325172007] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.201708677224815 8.216126753 8.080155011 Calling exit ...