Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001618/0.001618, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002052/0.002052, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.573/1.573, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2697/0.2697, allocations: 46.9 MB / 357.4 MB, free: 10.51 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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",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.003855/0.003855, allocations: 79.86 kB / 0.4912 GB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1598, allocations: 65.99 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003368/0.1632, allocations: 1.62 MB / 0.5573 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1644, allocations: 0.5449 MB / 0.5578 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1645, allocations: 0 / 0.5578 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1648, allocations: 71.78 kB / 0.5579 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.1652, allocations: 99.59 kB / 0.558 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1656, allocations: 99.31 kB / 0.5581 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1658, allocations: 83.8 kB / 0.5581 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1659, allocations: 8 kB / 0.5581 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.166, allocations: 31.91 kB / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1661, allocations: 63.69 kB / 0.5582 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1661, allocations: 4 kB / 0.5582 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1662, allocations: 47.97 kB / 0.5583 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.1663, allocations: 15.94 kB / 0.5583 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.1663, allocations: 31.73 kB / 0.5583 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1666, allocations: 103.6 kB / 0.5584 GB, free: 3.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1666, allocations: 4 kB / 0.5584 GB, free: 3.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1666, allocations: 0 / 0.5584 GB, free: 3.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1666, allocations: 0 / 0.5584 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.0006582/0.1673, allocations: 414.7 kB / 0.5588 GB, free: 3.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.1673, allocations: 8.031 kB / 0.5588 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.1674, allocations: 34.75 kB / 0.5589 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.1674, allocations: 12.84 kB / 0.5589 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1677, allocations: 200.2 kB / 0.5591 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1677, allocations: 16.31 kB / 0.5591 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1677, allocations: 384 / 0.5591 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1679, allocations: 54.23 kB / 0.5591 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1679, allocations: 7.938 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1679, allocations: 0 / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1679, allocations: 0 / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.168, allocations: 31.86 kB / 0.5592 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.1685, allocations: 292.8 kB / 0.5595 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1687, allocations: 42.56 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.1687, allocations: 20.94 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1688, allocations: 0 / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1688, allocations: 34.5 kB / 0.5596 GB, free: 2.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1688, allocations: 0 / 0.5596 GB, free: 2.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000991/0.1698, allocations: 229.3 kB / 0.5598 GB, free: 2.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.1699, allocations: 59.39 kB / 0.5598 GB, free: 1.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1701, allocations: 197.5 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1701, allocations: 29.7 kB / 0.56 GB, free: 1.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.1702, allocations: 104.1 kB / 0.5601 GB, free: 1.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1703, allocations: 31.73 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.1703, allocations: 21.72 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1705, allocations: 322.8 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.1706, allocations: 31.97 kB / 0.5605 GB, free: 1.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.1706, allocations: 19.98 kB / 0.5606 GB, free: 1.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1708, allocations: 64.83 kB / 0.5606 GB, free: 1.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1708, allocations: 3.938 kB / 0.5606 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002259/0.171, allocations: 101.6 kB / 0.5607 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.171, allocations: 4 kB / 0.5607 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1711, allocations: 0 / 0.5607 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1711, allocations: 0 / 0.5607 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1712, allocations: 19.98 kB / 0.5607 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1712, allocations: 0 / 0.5607 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.1712, allocations: 7.984 kB / 0.5607 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1712, allocations: 7.938 kB / 0.5608 GB, free: 0.957 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.000113/0.1714, allocations: 129.8 kB / 0.5609 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1714, allocations: 12.33 kB / 0.5609 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.1717, allocations: 111 kB / 0.561 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1717, allocations: 0 / 0.561 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1717, allocations: 7.938 kB / 0.561 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1717, allocations: 7.969 kB / 0.561 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.1723, allocations: 407.2 kB / 0.5614 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1723, allocations: 4 kB / 0.5614 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.1724, allocations: 16 kB / 0.5614 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1724, allocations: 7.922 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1724, allocations: 7.938 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1724, allocations: 4.406 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1724, allocations: 0 / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.1727, allocations: 208.3 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.1728, allocations: 85.06 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1728, allocations: 7.938 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.1729, allocations: 4 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.1729, allocations: 7.984 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1729, allocations: 4 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1731, allocations: 156.9 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1731, allocations: 0 / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1734, allocations: 19.94 kB / 0.5619 GB, free: 15.66 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.002291/0.1756, allocations: 1.09 MB / 0.563 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.1759, allocations: 71.88 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1759, allocations: 4 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.542e-05/0.176, allocations: 27.98 kB / 0.5631 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1765, allocations: 18.8 kB / 0.5631 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1787, allocations: 1.64 MB / 0.5647 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.1792, allocations: 0.7087 MB / 0.5654 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.339e-05/0.1792, allocations: 16.95 kB / 0.5654 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.1793, allocations: 27.42 kB / 0.5654 GB, free: 12.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1793, allocations: 0 / 0.5654 GB, free: 12.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.2071, allocations: 3.079 MB / 0.5684 GB, free: 9.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.352, allocations: 7.922 kB / 0.5684 GB, free: 9.066 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.547140414826572] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.482995260041207 8.504942243 8.333876669 Calling exit ...