Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001945/0.001945, allocations: 122.7 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.002341/0.002341, 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.52/1.52, 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.2564/0.2564, allocations: 46.89 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.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",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.002355/0.002355, allocations: 83.88 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1311, allocations: 65.98 MB / 0.5557 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003289/0.1344, allocations: 1.626 MB / 0.5573 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1355, allocations: 0.5449 MB / 0.5578 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.1355, allocations: 0 / 0.5578 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1358, allocations: 83.7 kB / 0.5579 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.1361, allocations: 99.64 kB / 0.558 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1364, allocations: 95.08 kB / 0.5581 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1366, allocations: 83.75 kB / 0.5581 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1367, allocations: 15.98 kB / 0.5582 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.1367, allocations: 35.89 kB / 0.5582 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1369, allocations: 63.75 kB / 0.5583 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.1369, allocations: 4 kB / 0.5583 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.137, allocations: 39.98 kB / 0.5583 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.1371, allocations: 27.92 kB / 0.5583 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.1371, allocations: 31.75 kB / 0.5583 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1373, allocations: 107.5 kB / 0.5585 GB, free: 3.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1373, allocations: 0 / 0.5585 GB, free: 3.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1373, allocations: 3.938 kB / 0.5585 GB, free: 3.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1373, allocations: 0 / 0.5585 GB, free: 3.574 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.0005744/0.1379, allocations: 418.7 kB / 0.5589 GB, free: 3.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.138, allocations: 8.031 kB / 0.5589 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.138, allocations: 34.75 kB / 0.5589 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1381, allocations: 20.84 kB / 0.5589 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1383, allocations: 204.8 kB / 0.5591 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1383, allocations: 4.375 kB / 0.5591 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1383, allocations: 384 / 0.5591 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1385, allocations: 62.17 kB / 0.5592 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1385, allocations: 3.938 kB / 0.5592 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1385, allocations: 0 / 0.5592 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1385, allocations: 0 / 0.5592 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.1386, allocations: 23.98 kB / 0.5592 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.139, allocations: 304.8 kB / 0.5595 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1391, allocations: 42.48 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.1392, allocations: 20.94 kB / 0.5596 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1392, allocations: 0 / 0.5596 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1392, allocations: 34.56 kB / 0.5596 GB, free: 2.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1392, allocations: 4 kB / 0.5596 GB, free: 2.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008744/0.1401, allocations: 217.3 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1401, allocations: 55.39 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.1404, allocations: 210.4 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1404, allocations: 29.7 kB / 0.5601 GB, free: 1.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.1405, allocations: 112 kB / 0.5602 GB, free: 1.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1405, allocations: 23.81 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1405, allocations: 21.7 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1407, allocations: 326.8 kB / 0.5605 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.1408, allocations: 27.92 kB / 0.5606 GB, free: 1.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.1409, allocations: 27.92 kB / 0.5606 GB, free: 1.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.141, allocations: 68.89 kB / 0.5607 GB, free: 1.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.141, allocations: 0 / 0.5607 GB, free: 1.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002098/0.1412, allocations: 97.61 kB / 0.5608 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1412, allocations: 8 kB / 0.5608 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1412, allocations: 0 / 0.5608 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1413, allocations: 0 / 0.5608 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1414, allocations: 23.92 kB / 0.5608 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1414, allocations: 4 kB / 0.5608 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.1414, allocations: 4 kB / 0.5608 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1414, allocations: 3.938 kB / 0.5608 GB, free: 0.9375 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.0001085/0.1415, allocations: 133.8 kB / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1416, allocations: 11.91 kB / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.1418, allocations: 123.3 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.1419, allocations: 4 kB / 0.5611 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1419, allocations: 4 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1419, allocations: 0 / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.1424, allocations: 411.1 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1424, allocations: 0 / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.1425, allocations: 19.98 kB / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1425, allocations: 4 kB / 0.5615 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1425, allocations: 3.938 kB / 0.5615 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1425, allocations: 4.031 kB / 0.5615 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1425, allocations: 0 / 0.5615 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1427, allocations: 208.4 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.1428, allocations: 93 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1428, allocations: 3.75 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.1429, allocations: 8 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1429, allocations: 11.98 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1429, allocations: 4 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1431, allocations: 164.2 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1431, allocations: 0 / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1433, allocations: 16 kB / 0.562 GB, free: 15.62 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.002156/0.1455, allocations: 1.092 MB / 0.563 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1457, allocations: 59.95 kB / 0.5631 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1457, allocations: 4 kB / 0.5631 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/0.1458, allocations: 31.92 kB / 0.5631 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1461, allocations: 16.3 kB / 0.5631 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1482, allocations: 1.673 MB / 0.5648 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.1487, allocations: 0.7119 MB / 0.5655 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.1488, allocations: 12.61 kB / 0.5655 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.1488, allocations: 39.42 kB / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1488, allocations: 0 / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.173, allocations: 3.155 MB / 0.5686 GB, free: 8.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.206, allocations: 8.781 kB / 0.5686 GB, free: 8.922 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.36169095383957] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock.y'] 8.332606826908886 8.363698556 8.220313153 Calling exit ...