Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001785/0.001785, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002277/0.002277, allocations: 216.3 kB / 24.53 MB, free: 4.066 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.556/1.556, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.24/0.24, allocations: 44.92 MB / 359.6 MB, free: 6.363 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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.001956/0.001956, allocations: 67.89 kB / 0.4939 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3456, allocations: 65.47 MB / 0.5579 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003266/0.3488, allocations: 1.745 MB / 0.5596 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3506, allocations: 1.042 MB / 0.5606 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.3507, allocations: 7.875 kB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.351, allocations: 43.81 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.3513, allocations: 99.48 kB / 0.5607 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.3515, allocations: 79.67 kB / 0.5608 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3517, allocations: 103.8 kB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.3518, allocations: 11.98 kB / 0.5609 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3519, allocations: 47.72 kB / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.3519, allocations: 31.8 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.352, allocations: 4 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-05/0.3521, allocations: 43.97 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.3521, allocations: 23.92 kB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3522, allocations: 35.73 kB / 0.5611 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3524, allocations: 125.6 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3524, allocations: 4 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3524, allocations: 0 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3524, allocations: 0 / 0.5612 GB, free: 4.305 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.0005407/0.3529, allocations: 357.4 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.353, allocations: 8.031 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.365e-05/0.353, allocations: 4.188 kB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.353, allocations: 30.75 kB / 0.5616 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.3531, allocations: 8.891 kB / 0.5616 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.3534, allocations: 166.2 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3534, allocations: 8.125 kB / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3534, allocations: 0 / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3536, allocations: 53.67 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3536, allocations: 11.92 kB / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3536, allocations: 4 kB / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3536, allocations: 0 / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.3537, allocations: 15.98 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.3541, allocations: 267.9 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3543, allocations: 58.61 kB / 0.5622 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.3543, allocations: 12.86 kB / 0.5622 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3544, allocations: 4 kB / 0.5622 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.3545, allocations: 75.36 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3545, allocations: 0 / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005875/0.3551, allocations: 177.3 kB / 0.5624 GB, free: 2.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3552, allocations: 59.41 kB / 0.5625 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.3554, allocations: 218.6 kB / 0.5627 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.3555, allocations: 29.7 kB / 0.5627 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.3556, allocations: 104.1 kB / 0.5628 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.3556, allocations: 23.8 kB / 0.5628 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.3556, allocations: 29.7 kB / 0.5629 GB, free: 2.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3558, allocations: 330.8 kB / 0.5632 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.3558, allocations: 12 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.3559, allocations: 41.64 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.356, allocations: 61.77 kB / 0.5633 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.356, allocations: 0 / 0.5633 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.3562, allocations: 113.5 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3563, allocations: 6.656 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3563, allocations: 0 / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3563, allocations: 4 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.3564, allocations: 12 kB / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3564, allocations: 3.938 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.3564, allocations: 11.98 kB / 0.5634 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3564, allocations: 0 / 0.5634 GB, free: 1.82 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.0001261/0.3566, allocations: 129.9 kB / 0.5636 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3566, allocations: 19.78 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.3569, allocations: 111.1 kB / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3569, allocations: 0 / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3569, allocations: 3.938 kB / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3569, allocations: 3.984 kB / 0.5637 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.3574, allocations: 362.8 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3574, allocations: 4 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.3574, allocations: 12.03 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/0.3574, allocations: 7.938 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3574, allocations: 4 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3574, allocations: 3.984 kB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3574, allocations: 4 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3577, allocations: 200.2 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.3577, allocations: 15.89 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3577, allocations: 4 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.3578, allocations: 4 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.3579, allocations: 3.984 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3579, allocations: 8 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.358, allocations: 156.3 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.358, allocations: 0 / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.3583, allocations: 27.92 kB / 0.5645 GB, free: 0.6641 MB / 398.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.002214/0.3605, allocations: 1.098 MB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3607, allocations: 55.91 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3607, allocations: 0 / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.9e-05/0.3608, allocations: 27.98 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.3612, allocations: 33.23 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3635, allocations: 1.693 MB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3638, allocations: 0.704 MB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.3639, allocations: 24.88 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.3639, allocations: 39.42 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3639, allocations: 4 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.3867, allocations: 3.709 MB / 0.5717 GB, free: 9.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.52, allocations: 14.8 kB / 0.5717 GB, free: 9.383 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.739005893992726] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.7361614270485 11.762386904 11.405068688 Calling exit ...