Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 116.2 kB / 18.49 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 222.9 kB / 21.46 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 254.8 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 44.91 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.89 kB / 0.4886 GB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1574, allocations: 65.41 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004069/0.1615, allocations: 1.736 MB / 0.5542 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1635, allocations: 1.031 MB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.1636, allocations: 3.938 kB / 0.5552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1639, allocations: 47.77 kB / 0.5553 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.1642, allocations: 99.53 kB / 0.5554 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1645, allocations: 71.67 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1647, allocations: 103.8 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1648, allocations: 12.27 kB / 0.5555 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1649, allocations: 47.72 kB / 0.5556 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1651, allocations: 39.78 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.1651, allocations: 4 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1652, allocations: 43.98 kB / 0.5557 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.1653, allocations: 23.91 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.1654, allocations: 35.75 kB / 0.5557 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1656, allocations: 115.5 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1656, allocations: 0 / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1656, allocations: 3.938 kB / 0.5558 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1656, allocations: 4 kB / 0.5558 GB, free: 6.613 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007753/0.1664, allocations: 424.8 kB / 0.5563 GB, free: 6.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.1665, allocations: 8.031 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.114e-05/0.1665, allocations: 8.188 kB / 0.5563 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.1665, allocations: 34.75 kB / 0.5563 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.1666, allocations: 8.891 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.167, allocations: 223.2 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.167, allocations: 12.11 kB / 0.5565 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.167, allocations: 0 / 0.5565 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1672, allocations: 53.67 kB / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1672, allocations: 3.938 kB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1672, allocations: 4 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1672, allocations: 0 / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1673, allocations: 19.98 kB / 0.5566 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1677, allocations: 284.9 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1679, allocations: 58.61 kB / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.168, allocations: 16.86 kB / 0.557 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.168, allocations: 4 kB / 0.557 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.1682, allocations: 71.39 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1682, allocations: 0 / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006124/0.1688, allocations: 181.2 kB / 0.5572 GB, free: 5.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1688, allocations: 55.41 kB / 0.5573 GB, free: 4.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1691, allocations: 198.3 kB / 0.5574 GB, free: 4.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1691, allocations: 25.7 kB / 0.5575 GB, free: 4.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.1692, allocations: 108.1 kB / 0.5576 GB, free: 4.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1692, allocations: 27.83 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1692, allocations: 25.66 kB / 0.5576 GB, free: 4.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1694, allocations: 322.8 kB / 0.5579 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.1695, allocations: 23.98 kB / 0.558 GB, free: 4.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.1696, allocations: 37.64 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1697, allocations: 57.72 kB / 0.558 GB, free: 4.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1697, allocations: 0 / 0.558 GB, free: 4.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002221/0.1699, allocations: 105.5 kB / 0.5581 GB, free: 4.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.1699, allocations: 8 kB / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1699, allocations: 0 / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.17, allocations: 0 / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1701, allocations: 15.98 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.1701, allocations: 7.938 kB / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.1701, allocations: 0 / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1701, allocations: 8.031 kB / 0.5582 GB, free: 3.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001462/0.1703, allocations: 128 kB / 0.5583 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.1703, allocations: 19.84 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.1704, allocations: 13.41 kB / 0.5583 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1704, allocations: 0 / 0.5583 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.1704, allocations: 3.938 kB / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1704, allocations: 0 / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.171, allocations: 403.2 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.171, allocations: 0 / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.1711, allocations: 8 kB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1711, allocations: 7.938 kB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1711, allocations: 4 kB / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1711, allocations: 0 / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1711, allocations: 3.984 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1714, allocations: 204.5 kB / 0.5589 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.1715, allocations: 93.33 kB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.1715, allocations: 8 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.1716, allocations: 7.938 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1716, allocations: 7.984 kB / 0.5591 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1717, allocations: 7.984 kB / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1718, allocations: 148.2 kB / 0.5592 GB, free: 2.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1718, allocations: 0 / 0.5592 GB, free: 2.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1721, allocations: 20 kB / 0.5592 GB, free: 2.805 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002469/0.1746, allocations: 1.104 MB / 0.5603 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1748, allocations: 55.92 kB / 0.5604 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1748, allocations: 0 / 0.5604 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.1749, allocations: 27.92 kB / 0.5604 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1753, allocations: 31.42 kB / 0.5604 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.1775, allocations: 1.665 MB / 0.562 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.1779, allocations: 0.704 MB / 0.5627 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.275e-05/0.178, allocations: 17.17 kB / 0.5627 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.094e-05/0.1781, allocations: 39.42 kB / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1781, allocations: 0 / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.1991, allocations: 3.523 MB / 0.5662 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/8.555, allocations: 4.062 kB / 0.5662 GB, free: 11.76 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.767979071009904] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.756867060961667 8.777630474 8.608781876 Calling exit ...