Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.0013/0.0013, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002164/0.002164, allocations: 219 kB / 23 MB, free: 5.609 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.433/1.433, allocations: 230.2 MB / 256.2 MB, free: 8.676 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.2268/0.2268, allocations: 46.89 MB / 359.4 MB, free: 4.918 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.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",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.002283/0.002283, allocations: 87.84 kB / 0.4942 GB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3567, allocations: 65.98 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00325/0.36, allocations: 1.698 MB / 0.5603 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3619, allocations: 1.033 MB / 0.5613 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.362, allocations: 0 / 0.5613 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.3623, allocations: 59.73 kB / 0.5614 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.3627, allocations: 103.6 kB / 0.5615 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3629, allocations: 79.67 kB / 0.5615 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3631, allocations: 107.7 kB / 0.5616 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.3631, allocations: 4.234 kB / 0.5616 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.3633, allocations: 47.78 kB / 0.5617 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3634, allocations: 51.75 kB / 0.5617 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3634, allocations: 4 kB / 0.5617 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.3635, allocations: 35.92 kB / 0.5618 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.3635, allocations: 23.91 kB / 0.5618 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.3636, allocations: 27.81 kB / 0.5618 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.3638, allocations: 105.4 kB / 0.5619 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3638, allocations: 7.984 kB / 0.5619 GB, free: 1.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3638, allocations: 0 / 0.5619 GB, free: 1.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3638, allocations: 0 / 0.5619 GB, free: 1.754 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005721/0.3644, allocations: 414.6 kB / 0.5623 GB, free: 1.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3644, allocations: 12.03 kB / 0.5623 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.3645, allocations: 34.75 kB / 0.5624 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.3645, allocations: 16.83 kB / 0.5624 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.3648, allocations: 200.9 kB / 0.5626 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3648, allocations: 8.297 kB / 0.5626 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3648, allocations: 8.375 kB / 0.5626 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.365, allocations: 49.81 kB / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.365, allocations: 0 / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.365, allocations: 0 / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.365, allocations: 3.984 kB / 0.5627 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-05/0.3651, allocations: 19.94 kB / 0.5627 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.3653, allocations: 185.6 kB / 0.5629 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3655, allocations: 54.61 kB / 0.5629 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.3656, allocations: 16.84 kB / 0.5629 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3656, allocations: 4 kB / 0.5629 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.3658, allocations: 71.27 kB / 0.563 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.3658, allocations: 0 / 0.563 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003047/0.3661, allocations: 93.62 kB / 0.5631 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3661, allocations: 55.41 kB / 0.5631 GB, free: 348 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3663, allocations: 190.4 kB / 0.5633 GB, free: 148 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3664, allocations: 25.7 kB / 0.5633 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.3664, allocations: 108.1 kB / 0.5634 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.3665, allocations: 8.094 kB / 0.5634 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.3666, allocations: 21.72 kB / 0.5635 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3667, allocations: 322.8 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.3668, allocations: 19.98 kB / 0.5638 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.3669, allocations: 41.62 kB / 0.5638 GB, free: 15.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.367, allocations: 41.97 kB / 0.5639 GB, free: 15.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.367, allocations: 0 / 0.5639 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001717/0.3671, allocations: 89.31 kB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3671, allocations: 4 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3671, allocations: 0 / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.3672, allocations: 8.031 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.013e-05/0.3673, allocations: 8 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.3673, allocations: 0 / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.3673, allocations: 15.88 kB / 0.564 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3673, allocations: 0 / 0.564 GB, free: 15.4 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 (7): * Single equations (assignments): 7 * 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.0001307/0.3675, allocations: 121.8 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3675, allocations: 15.89 kB / 0.5641 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.3678, allocations: 94.59 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3678, allocations: 4 kB / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3678, allocations: 0 / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3678, allocations: 0 / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.3681, allocations: 193.5 kB / 0.5644 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3681, allocations: 0 / 0.5644 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.3681, allocations: 7.984 kB / 0.5644 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3681, allocations: 3.938 kB / 0.5644 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3681, allocations: 0 / 0.5644 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3681, allocations: 0 / 0.5644 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3681, allocations: 0 / 0.5644 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3683, allocations: 121.2 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.3684, allocations: 85.06 kB / 0.5646 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3684, allocations: 4 kB / 0.5646 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.3684, allocations: 0 / 0.5646 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.3685, allocations: 7.984 kB / 0.5646 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3685, allocations: 0 / 0.5646 GB, free: 14.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.3686, allocations: 148.2 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3686, allocations: 0 / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.3688, allocations: 27.94 kB / 0.5648 GB, free: 14.48 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: 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 (5): * Single equations (assignments): 3 * 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.002007/0.3709, allocations: 0.9481 MB / 0.5657 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.371, allocations: 35.98 kB / 0.5658 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.371, allocations: 64 / 0.5658 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.3711, allocations: 23.98 kB / 0.5658 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.3714, allocations: 34.86 kB / 0.5658 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.3733, allocations: 1.522 MB / 0.5673 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3736, allocations: 0.701 MB / 0.568 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.3737, allocations: 12.55 kB / 0.568 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.3738, allocations: 31.42 kB / 0.568 GB, free: 11.18 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3738, allocations: 0 / 0.568 GB, free: 11.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.4, allocations: 3.171 MB / 0.5711 GB, free: 8.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.338, allocations: 8.391 kB / 0.5711 GB, free: 8.027 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.169244163000258] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.469627475977177 8.494434401 8.126064654 Calling exit ...