Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.00183/0.00183, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.002203/0.002203, allocations: 216.9 kB / 23 MB, free: 5.582 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.503/1.503, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.2317/0.2317, allocations: 46.88 MB / 359.4 MB, free: 4.906 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",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.002303/0.002303, allocations: 83.88 kB / 0.4942 GB, free: 8.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3388, allocations: 65.98 MB / 0.5587 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00349/0.3423, allocations: 1.749 MB / 0.5604 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3443, allocations: 1.051 MB / 0.5614 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.3444, allocations: 3.938 kB / 0.5614 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.3447, allocations: 55.75 kB / 0.5614 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.345, allocations: 107.5 kB / 0.5616 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3452, allocations: 75.67 kB / 0.5616 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3454, allocations: 103.7 kB / 0.5617 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.3455, allocations: 5.828 kB / 0.5617 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.3456, allocations: 43.78 kB / 0.5618 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.3457, allocations: 39.78 kB / 0.5618 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3457, allocations: 4 kB / 0.5618 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.3458, allocations: 39.98 kB / 0.5618 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.3458, allocations: 31.8 kB / 0.5619 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.3459, allocations: 47.66 kB / 0.5619 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3461, allocations: 139.4 kB / 0.5621 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3462, allocations: 7.938 kB / 0.5621 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3462, allocations: 0 / 0.5621 GB, free: 1.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3462, allocations: 0 / 0.5621 GB, free: 1.617 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006415/0.3468, allocations: 450.4 kB / 0.5625 GB, free: 1.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3468, allocations: 8.031 kB / 0.5625 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.73e-05/0.3469, allocations: 38.73 kB / 0.5625 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.3469, allocations: 16.84 kB / 0.5626 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.3472, allocations: 231.7 kB / 0.5628 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3473, allocations: 8.375 kB / 0.5628 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3473, allocations: 4.375 kB / 0.5628 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3475, allocations: 57.8 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3475, allocations: 0 / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3475, allocations: 0 / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3475, allocations: 4 kB / 0.5628 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.3476, allocations: 15.98 kB / 0.5629 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.348, allocations: 300.8 kB / 0.5631 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.3482, allocations: 62.61 kB / 0.5632 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.3482, allocations: 16.86 kB / 0.5632 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3482, allocations: 4 kB / 0.5632 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.3484, allocations: 59.39 kB / 0.5633 GB, free: 196 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3484, allocations: 0 / 0.5633 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005899/0.349, allocations: 205.2 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.349, allocations: 51.41 kB / 0.5635 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.3493, allocations: 284.2 kB / 0.5638 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3493, allocations: 29.64 kB / 0.5638 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.3494, allocations: 116.1 kB / 0.5639 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3495, allocations: 23.84 kB / 0.564 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.3495, allocations: 21.72 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3497, allocations: 334.8 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.3497, allocations: 19.98 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.3498, allocations: 34.08 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3499, allocations: 61.7 kB / 0.5644 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3499, allocations: 0 / 0.5644 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.3501, allocations: 109.5 kB / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3501, allocations: 12.03 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3502, allocations: 0 / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3502, allocations: 0 / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.3503, allocations: 23.92 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3503, allocations: 4 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.3503, allocations: 0 / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3503, allocations: 4 kB / 0.5646 GB, free: 14.81 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.0001327/0.3504, allocations: 145.7 kB / 0.5647 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.3505, allocations: 19.89 kB / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.3507, allocations: 127.2 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3507, allocations: 3.938 kB / 0.5648 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3507, allocations: 0 / 0.5648 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3508, allocations: 0 / 0.5648 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.3513, allocations: 407.3 kB / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3513, allocations: 3.938 kB / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.3513, allocations: 8 kB / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3513, allocations: 32 / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3513, allocations: 8 kB / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.3513, allocations: 8.109 kB / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3513, allocations: 0 / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.3516, allocations: 212.2 kB / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.3517, allocations: 92.97 kB / 0.5655 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3517, allocations: 0 / 0.5655 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.3518, allocations: 15.94 kB / 0.5656 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.3518, allocations: 11.92 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3518, allocations: 0 / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3521, allocations: 216.6 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3521, allocations: 0 / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3523, allocations: 24 kB / 0.5658 GB, free: 13.42 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.002245/0.3546, allocations: 1.088 MB / 0.5669 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.3548, allocations: 63.86 kB / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3548, allocations: 0 / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.3549, allocations: 32.06 kB / 0.567 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3552, allocations: 34.47 kB / 0.567 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3575, allocations: 1.878 MB / 0.5688 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3579, allocations: 0.7158 MB / 0.5695 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.983e-05/0.358, allocations: 12.88 kB / 0.5695 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.3581, allocations: 51.41 kB / 0.5696 GB, free: 9.578 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3581, allocations: 0 / 0.5696 GB, free: 9.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.3832, allocations: 3.871 MB / 0.5734 GB, free: 5.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.43, allocations: 11.78 kB / 0.5734 GB, free: 5.715 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.42111187800765] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.552357592008775 8.569426844 8.220277717 Calling exit ...