Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001396/0.001396, allocations: 113 kB / 18.49 MB, free: 4.598 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.001472/0.001472, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.53/1.53, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2296/0.2296, allocations: 44.89 MB / 355.8 MB, free: 12.35 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001782/0.001782, allocations: 67.91 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 65.43 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00347/0.155, allocations: 1.723 MB / 0.5542 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1568, allocations: 1.038 MB / 0.5552 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.1569, allocations: 3.938 kB / 0.5552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1572, allocations: 39.83 kB / 0.5553 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.1576, allocations: 99.53 kB / 0.5554 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1579, allocations: 79.67 kB / 0.5554 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1581, allocations: 111.7 kB / 0.5555 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1582, allocations: 8.281 kB / 0.5556 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1583, allocations: 43.78 kB / 0.5556 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.1584, allocations: 39.78 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1584, allocations: 4 kB / 0.5556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1585, allocations: 43.98 kB / 0.5557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.1586, allocations: 19.92 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.1586, allocations: 43.66 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1588, allocations: 115.5 kB / 0.5558 GB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1588, allocations: 8 kB / 0.5559 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1588, allocations: 0 / 0.5559 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.1589, allocations: 0 / 0.5559 GB, free: 6.641 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.0006526/0.1595, allocations: 430.6 kB / 0.5563 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1596, allocations: 8.031 kB / 0.5563 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.204e-05/0.1596, allocations: 4.125 kB / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1596, allocations: 30.75 kB / 0.5563 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.1596, allocations: 16.88 kB / 0.5563 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.16, allocations: 224.1 kB / 0.5565 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.16, allocations: 8.109 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.16, allocations: 4 kB / 0.5566 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1601, allocations: 53.67 kB / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1601, allocations: 3.938 kB / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1602, allocations: 0 / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1602, allocations: 0 / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.1602, allocations: 23.98 kB / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1606, allocations: 300.8 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1608, allocations: 54.61 kB / 0.557 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.1609, allocations: 16.86 kB / 0.557 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1609, allocations: 0 / 0.557 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.161, allocations: 71.39 kB / 0.5571 GB, free: 5.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.161, allocations: 0 / 0.5571 GB, free: 5.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005672/0.1616, allocations: 177.3 kB / 0.5572 GB, free: 5.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1617, allocations: 55.41 kB / 0.5573 GB, free: 4.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1619, allocations: 214 kB / 0.5575 GB, free: 4.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1619, allocations: 25.7 kB / 0.5575 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.162, allocations: 108.1 kB / 0.5576 GB, free: 4.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.162, allocations: 23.8 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.162, allocations: 29.64 kB / 0.5577 GB, free: 4.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1622, allocations: 326.8 kB / 0.558 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.1623, allocations: 16 kB / 0.558 GB, free: 4.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.1623, allocations: 37.64 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1625, allocations: 69.75 kB / 0.5581 GB, free: 4.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1625, allocations: 0 / 0.5581 GB, free: 4.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.1627, allocations: 105.5 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1627, allocations: 7.984 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1627, allocations: 0 / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1627, allocations: 0 / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.1628, allocations: 20 kB / 0.5582 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1628, allocations: 7.875 kB / 0.5582 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.1628, allocations: 0 / 0.5582 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1629, allocations: 7.984 kB / 0.5582 GB, free: 3.965 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.0001265/0.163, allocations: 131.8 kB / 0.5584 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.163, allocations: 15.84 kB / 0.5584 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.1631, allocations: 17.39 kB / 0.5584 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1631, allocations: 4 kB / 0.5584 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1631, allocations: 3.938 kB / 0.5584 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1631, allocations: 0 / 0.5584 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.1636, allocations: 395.3 kB / 0.5588 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1636, allocations: 0 / 0.5588 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.1636, allocations: 8.406 kB / 0.5588 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1636, allocations: 7.938 kB / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1636, allocations: 4 kB / 0.5588 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1636, allocations: 4 kB / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1636, allocations: 0 / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.1639, allocations: 200.3 kB / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.164, allocations: 92.98 kB / 0.5591 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.164, allocations: 12 kB / 0.5591 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.1641, allocations: 3.938 kB / 0.5591 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.1641, allocations: 11.97 kB / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1641, allocations: 4 kB / 0.5591 GB, free: 2.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1643, allocations: 160.3 kB / 0.5593 GB, free: 2.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1643, allocations: 0 / 0.5593 GB, free: 2.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1645, allocations: 23.94 kB / 0.5593 GB, free: 2.777 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.002271/0.1668, allocations: 1.101 MB / 0.5604 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.167, allocations: 55.92 kB / 0.5604 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.167, allocations: 0 / 0.5604 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.1671, allocations: 27.92 kB / 0.5604 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1674, allocations: 31.47 kB / 0.5605 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1694, allocations: 1.697 MB / 0.5621 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1698, allocations: 0.708 MB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.793e-05/0.1699, allocations: 20.8 kB / 0.5628 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.1699, allocations: 35.42 kB / 0.5629 GB, free: 15.14 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1699, allocations: 0 / 0.5629 GB, free: 15.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1893, allocations: 3.573 MB / 0.5664 GB, free: 11.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/8.64, allocations: 8.062 kB / 0.5664 GB, free: 11.64 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.854673968045972] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.843298061052337 8.867904942 8.704589429 Calling exit ...