Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001368/0.001368, allocations: 121.8 kB / 18.51 MB, free: 4.535 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.001517/0.001517, allocations: 215.2 kB / 21.46 MB, free: 1.586 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.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2386/0.2386, allocations: 46.88 MB / 357.4 MB, free: 10.55 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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",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.002329/0.002329, allocations: 77.09 kB / 0.4912 GB, free: 26.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1268, allocations: 65.98 MB / 0.5557 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003043/0.1298, allocations: 1.625 MB / 0.5573 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1318, allocations: 1.186 MB / 0.5584 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.1318, allocations: 0 / 0.5584 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.1321, allocations: 23.84 kB / 0.5584 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1323, allocations: 91.61 kB / 0.5585 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1327, allocations: 111.7 kB / 0.5586 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.1328, allocations: 83.75 kB / 0.5587 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1329, allocations: 15.94 kB / 0.5587 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.133, allocations: 35.84 kB / 0.5588 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1331, allocations: 35.84 kB / 0.5588 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1332, allocations: 4 kB / 0.5588 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1333, allocations: 103.9 kB / 0.5589 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.1334, allocations: 23.92 kB / 0.5589 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.1334, allocations: 27.8 kB / 0.5589 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.1337, allocations: 159.4 kB / 0.5591 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1337, allocations: 0 / 0.5591 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1337, allocations: 0 / 0.5591 GB, free: 5.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.1337, allocations: 0 / 0.5591 GB, free: 5.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000607/0.1343, allocations: 410.8 kB / 0.5595 GB, free: 5.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1344, allocations: 12.03 kB / 0.5595 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.1344, allocations: 38.73 kB / 0.5595 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1344, allocations: 8.891 kB / 0.5595 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1348, allocations: 198.1 kB / 0.5597 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1348, allocations: 384 / 0.5597 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.1348, allocations: 8.312 kB / 0.5597 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.135, allocations: 75.95 kB / 0.5598 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.135, allocations: 7.891 kB / 0.5598 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.135, allocations: 7.922 kB / 0.5598 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.135, allocations: 11.92 kB / 0.5598 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1351, allocations: 39.97 kB / 0.5599 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.1356, allocations: 304.8 kB / 0.5602 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1357, allocations: 58.55 kB / 0.5602 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.1358, allocations: 25 kB / 0.5602 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1358, allocations: 7.984 kB / 0.5603 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.1358, allocations: 34.56 kB / 0.5603 GB, free: 4.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1358, allocations: 0 / 0.5603 GB, free: 4.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006633/0.1365, allocations: 201.3 kB / 0.5605 GB, free: 3.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.1366, allocations: 77.11 kB / 0.5606 GB, free: 3.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1367, allocations: 155.8 kB / 0.5607 GB, free: 3.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1368, allocations: 25.7 kB / 0.5607 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.1368, allocations: 104.1 kB / 0.5608 GB, free: 3.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1369, allocations: 23.8 kB / 0.5609 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.1369, allocations: 21.72 kB / 0.5609 GB, free: 3.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1371, allocations: 326.8 kB / 0.5612 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.1372, allocations: 23.98 kB / 0.5612 GB, free: 3.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.1373, allocations: 49.69 kB / 0.5613 GB, free: 3.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.1374, allocations: 72.81 kB / 0.5613 GB, free: 3.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1374, allocations: 0 / 0.5613 GB, free: 3.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.1377, allocations: 113.5 kB / 0.5614 GB, free: 2.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1377, allocations: 4 kB / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1377, allocations: 384 / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1377, allocations: 0 / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1378, allocations: 24.02 kB / 0.5615 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1378, allocations: 0 / 0.5615 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.1379, allocations: 11.94 kB / 0.5615 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1379, allocations: 0 / 0.5615 GB, free: 2.914 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.0001071/0.138, allocations: 125.8 kB / 0.5616 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.138, allocations: 11.91 kB / 0.5616 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.1383, allocations: 130.5 kB / 0.5617 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1383, allocations: 4 kB / 0.5617 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1383, allocations: 3.984 kB / 0.5617 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1384, allocations: 7.938 kB / 0.5617 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.1389, allocations: 402.4 kB / 0.5621 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1389, allocations: 0 / 0.5621 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.139, allocations: 23.98 kB / 0.5621 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.139, allocations: 0 / 0.5621 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.139, allocations: 3.938 kB / 0.5622 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.139, allocations: 4 kB / 0.5622 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.139, allocations: 0 / 0.5622 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.1393, allocations: 211.3 kB / 0.5624 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.1393, allocations: 89.05 kB / 0.5624 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1394, allocations: 3.938 kB / 0.5624 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1394, allocations: 4 kB / 0.5624 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1395, allocations: 15.98 kB / 0.5625 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.1395, allocations: 0 / 0.5625 GB, free: 1.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1396, allocations: 119.2 kB / 0.5626 GB, free: 1.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1396, allocations: 0 / 0.5626 GB, free: 1.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.1399, allocations: 35.88 kB / 0.5626 GB, free: 1.633 MB / 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 (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.002396/0.1423, allocations: 1.131 MB / 0.5637 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.1426, allocations: 71.89 kB / 0.5638 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1426, allocations: 0 / 0.5638 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.1427, allocations: 35.97 kB / 0.5638 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.143, allocations: 22.7 kB / 0.5638 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.145, allocations: 1.546 MB / 0.5654 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1453, allocations: 0.6963 MB / 0.566 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.837e-05/0.1454, allocations: 28.66 kB / 0.5661 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.1455, allocations: 35.41 kB / 0.5661 GB, free: 14.12 MB / 430.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1455, allocations: 0 / 0.5661 GB, free: 14.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.1728, allocations: 3.486 MB / 0.5695 GB, free: 10.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.182, allocations: 17.23 kB / 0.5695 GB, free: 10.64 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.274420751724392] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y'] 8.30631377035752 8.329032115 8.190929859 Calling exit ...