Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001318/0.001318, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001417/0.001417, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2271/0.2271, allocations: 44.94 MB / 359.6 MB, free: 6.062 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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.002804/0.002804, allocations: 63.84 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4152, allocations: 65.46 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003722/0.419, allocations: 1.71 MB / 0.5595 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.4217, allocations: 1.664 MB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.4218, allocations: 0 / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.422, allocations: 39.77 kB / 0.5611 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.4224, allocations: 95.55 kB / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.4226, allocations: 79.72 kB / 0.5613 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.4228, allocations: 111.6 kB / 0.5614 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4229, allocations: 17.83 kB / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.423, allocations: 47.77 kB / 0.5615 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.4232, allocations: 47.77 kB / 0.5615 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.4232, allocations: 4 kB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.4234, allocations: 103.9 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.4234, allocations: 23.91 kB / 0.5616 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.4235, allocations: 23.86 kB / 0.5617 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.4238, allocations: 167.3 kB / 0.5618 GB, free: 3.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4238, allocations: 3.984 kB / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4238, allocations: 0 / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4238, allocations: 0 / 0.5618 GB, free: 3.383 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.0006402/0.4245, allocations: 353.5 kB / 0.5622 GB, free: 3.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4245, allocations: 12.03 kB / 0.5622 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.294e-05/0.4245, allocations: 192 / 0.5622 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.4246, allocations: 34.75 kB / 0.5622 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.4246, allocations: 20.84 kB / 0.5622 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.4249, allocations: 157.6 kB / 0.5624 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.4249, allocations: 4 kB / 0.5624 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.425, allocations: 0 / 0.5624 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.4252, allocations: 97.03 kB / 0.5625 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4252, allocations: 0 / 0.5625 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4252, allocations: 4 kB / 0.5625 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4252, allocations: 4 kB / 0.5625 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.4253, allocations: 23.98 kB / 0.5625 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.4257, allocations: 252 kB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4259, allocations: 54.62 kB / 0.5628 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.4259, allocations: 24.78 kB / 0.5628 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.426, allocations: 0 / 0.5628 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.4261, allocations: 67.39 kB / 0.5629 GB, free: 2.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4261, allocations: 4 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006271/0.4268, allocations: 189.2 kB / 0.5631 GB, free: 1.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.4268, allocations: 77.11 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.427, allocations: 171.8 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.427, allocations: 33.7 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.4271, allocations: 92.14 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.4272, allocations: 39.66 kB / 0.5635 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.4272, allocations: 25.7 kB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4274, allocations: 318.8 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.4274, allocations: 19.98 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.542e-05/0.4275, allocations: 76.2 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4277, allocations: 61.7 kB / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4277, allocations: 0 / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002102/0.4279, allocations: 105.6 kB / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4279, allocations: 4 kB / 0.564 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4279, allocations: 0 / 0.564 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4279, allocations: 7.938 kB / 0.564 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.428, allocations: 15.98 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.428, allocations: 4.438 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.4281, allocations: 4 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4281, allocations: 0 / 0.5641 GB, free: 0.8438 MB / 398.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.0001132/0.4282, allocations: 125.8 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.4282, allocations: 15.94 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.4285, allocations: 122.3 kB / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.4285, allocations: 7.938 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4285, allocations: 0 / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4285, allocations: 0 / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.429, allocations: 382.7 kB / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.429, allocations: 0 / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.4291, allocations: 8 kB / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4291, allocations: 7.938 kB / 0.5647 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4291, allocations: 3.984 kB / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4291, allocations: 0 / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4291, allocations: 4 kB / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.4294, allocations: 212.2 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.4294, allocations: 15.94 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.4294, allocations: 4 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.4295, allocations: 4.031 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.4295, allocations: 11.98 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4296, allocations: 4 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.4297, allocations: 127.2 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4297, allocations: 0 / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.43, allocations: 59.75 kB / 0.5651 GB, free: 15.66 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 (9): * Single equations (assignments): 7 * 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.002553/0.4326, allocations: 1.234 MB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.4328, allocations: 63.89 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4328, allocations: 0 / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.4329, allocations: 31.92 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4332, allocations: 34.72 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.4351, allocations: 1.601 MB / 0.568 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.4352, allocations: 81.33 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.4353, allocations: 16.97 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.4354, allocations: 39.41 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 5.42e-07/0.4354, allocations: 4 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.4611, allocations: 4.401 MB / 0.5725 GB, free: 8.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.84, allocations: 12.81 kB / 0.5725 GB, free: 8.316 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.938105329987593] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.076223209034652 12.100199193 11.671486963 Calling exit ...