Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001405/0.001405, allocations: 120.4 kB / 18.45 MB, free: 4.594 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.001553/0.001553, allocations: 204.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.485/1.485, allocations: 227.4 MB / 251.7 MB, free: 32 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.2285/0.2285, allocations: 46.15 MB / 351.1 MB, free: 14.29 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",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.002305/0.002305, allocations: 82.61 kB / 489.7 MB, free: 28.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1481, allocations: 62.45 MB / 0.5392 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003447/0.1516, allocations: 1.596 MB / 0.5407 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1533, allocations: 1.163 MB / 0.5419 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.1534, allocations: 0 / 0.5419 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1536, allocations: 19.86 kB / 0.5419 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.1539, allocations: 87.61 kB / 0.542 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1542, allocations: 87.7 kB / 0.5421 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1544, allocations: 67.77 kB / 0.5421 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1545, allocations: 15.94 kB / 0.5422 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.1545, allocations: 27.91 kB / 0.5422 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.1547, allocations: 31.84 kB / 0.5422 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.1547, allocations: 4 kB / 0.5422 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1549, allocations: 103.9 kB / 0.5423 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.155, allocations: 19.91 kB / 0.5423 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.155, allocations: 19.88 kB / 0.5423 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1553, allocations: 135.5 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1553, allocations: 0 / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1553, allocations: 0 / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1553, allocations: 0 / 0.5425 GB, free: 1.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006696/0.156, allocations: 402.8 kB / 0.5429 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1561, allocations: 8.031 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.1561, allocations: 42.73 kB / 0.5429 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.1562, allocations: 8.891 kB / 0.5429 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1564, allocations: 197.6 kB / 0.5431 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1564, allocations: 4.312 kB / 0.5431 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1565, allocations: 4.375 kB / 0.5431 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1566, allocations: 63.97 kB / 0.5432 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1567, allocations: 7.875 kB / 0.5432 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1567, allocations: 0 / 0.5432 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1567, allocations: 3.938 kB / 0.5432 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.1568, allocations: 23.97 kB / 0.5432 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1572, allocations: 272.9 kB / 0.5435 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1574, allocations: 50.5 kB / 0.5435 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1575, allocations: 16.94 kB / 0.5435 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1575, allocations: 0 / 0.5435 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.1576, allocations: 34.56 kB / 0.5436 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1576, allocations: 0 / 0.5436 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.00063/0.1582, allocations: 149.3 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.1583, allocations: 81.11 kB / 0.5438 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1585, allocations: 143.5 kB / 0.5439 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1585, allocations: 25.7 kB / 0.5439 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.1586, allocations: 92.14 kB / 0.544 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1586, allocations: 15.84 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1586, allocations: 17.72 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1588, allocations: 330.8 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.1589, allocations: 23.98 kB / 0.5444 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.159, allocations: 33.77 kB / 0.5444 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1591, allocations: 44.83 kB / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1591, allocations: 0 / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.1593, allocations: 85.59 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1594, allocations: 8 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1594, allocations: 0 / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1594, allocations: 0 / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.1595, allocations: 11.98 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.1595, allocations: 4 kB / 0.5446 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.1595, allocations: 7.922 kB / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1595, allocations: 4 kB / 0.5446 GB, free: 14.93 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 0.0001885/0.1597, allocations: 117.8 kB / 0.5447 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.1598, allocations: 11.95 kB / 0.5447 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.16, allocations: 93.84 kB / 0.5448 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.16, allocations: 4.281 kB / 0.5448 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1601, allocations: 0 / 0.5448 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1601, allocations: 3.984 kB / 0.5448 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.1606, allocations: 354.5 kB / 0.5452 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1606, allocations: 4 kB / 0.5452 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.1606, allocations: 12.25 kB / 0.5452 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1607, allocations: 0 / 0.5452 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1607, allocations: 11.98 kB / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1607, allocations: 0 / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1607, allocations: 3.938 kB / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.161, allocations: 171.5 kB / 0.5454 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.161, allocations: 92.98 kB / 0.5454 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1611, allocations: 8 kB / 0.5454 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1611, allocations: 4 kB / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.1612, allocations: 3.938 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1612, allocations: 3.984 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1613, allocations: 113.6 kB / 0.5456 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1613, allocations: 0 / 0.5456 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1616, allocations: 39.86 kB / 0.5456 GB, free: 13.79 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 (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.002245/0.1638, allocations: 1.095 MB / 0.5467 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1641, allocations: 43.97 kB / 0.5467 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.1641, allocations: 0 / 0.5467 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.1642, allocations: 35.91 kB / 0.5468 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1646, allocations: 18.56 kB / 0.5468 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1665, allocations: 1.428 MB / 0.5482 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1669, allocations: 0.6885 MB / 0.5488 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.576e-05/0.1669, allocations: 27.95 kB / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.167, allocations: 23.42 kB / 0.5489 GB, free: 10.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.167, allocations: 0 / 0.5489 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.1938, allocations: 3.212 MB / 0.552 GB, free: 7.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.311, allocations: 14.5 kB / 0.552 GB, free: 7.316 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.273837748914957] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.43515938310884 8.463779883 8.303763475 Calling exit ...