Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001693/0.001693, allocations: 112.2 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.001439/0.001439, allocations: 216.2 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.487/1.487, 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.2257/0.2257, allocations: 44.91 MB / 359.6 MB, free: 6.254 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.00222/0.00222, allocations: 63.89 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3096, allocations: 65.48 MB / 0.5579 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003577/0.3132, allocations: 1.732 MB / 0.5596 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3153, allocations: 1.049 MB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3154, allocations: 0 / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.3157, allocations: 47.7 kB / 0.5606 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.3161, allocations: 95.59 kB / 0.5607 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.3163, allocations: 83.66 kB / 0.5608 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.3165, allocations: 103.7 kB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.3166, allocations: 9.812 kB / 0.5609 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3167, allocations: 47.72 kB / 0.5609 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.3168, allocations: 39.78 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3168, allocations: 8 kB / 0.561 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/0.3169, allocations: 39.98 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.317, allocations: 19.91 kB / 0.5611 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.317, allocations: 35.69 kB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3172, allocations: 123.5 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3173, allocations: 0 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3173, allocations: 3.938 kB / 0.5612 GB, free: 4.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3173, allocations: 0 / 0.5612 GB, free: 4.301 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.0005537/0.3178, allocations: 345.6 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3179, allocations: 12.03 kB / 0.5615 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.3179, allocations: 4.188 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.3179, allocations: 30.75 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.3179, allocations: 12.88 kB / 0.5616 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.3183, allocations: 162.9 kB / 0.5617 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3183, allocations: 12.12 kB / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.3183, allocations: 0 / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3185, allocations: 53.67 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3185, allocations: 4 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3185, allocations: 3.984 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3185, allocations: 4 kB / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.3186, allocations: 19.98 kB / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.319, allocations: 256 kB / 0.5621 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3191, allocations: 54.61 kB / 0.5621 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.3192, allocations: 20.86 kB / 0.5622 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.3192, allocations: 0 / 0.5622 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.3194, allocations: 71.38 kB / 0.5622 GB, free: 3.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3194, allocations: 0 / 0.5622 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005743/0.32, allocations: 177.3 kB / 0.5624 GB, free: 2.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.32, allocations: 55.41 kB / 0.5624 GB, free: 2.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.3203, allocations: 202.2 kB / 0.5626 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.3203, allocations: 29.7 kB / 0.5627 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.3203, allocations: 108.1 kB / 0.5628 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3204, allocations: 31.77 kB / 0.5628 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.3204, allocations: 17.72 kB / 0.5628 GB, free: 2.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3206, allocations: 326.8 kB / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3207, allocations: 19.98 kB / 0.5632 GB, free: 2.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.3207, allocations: 41.64 kB / 0.5632 GB, free: 2.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3209, allocations: 65.77 kB / 0.5633 GB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3209, allocations: 0 / 0.5633 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002016/0.3211, allocations: 97.53 kB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3211, allocations: 8 kB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3211, allocations: 0 / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3211, allocations: 0 / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.3212, allocations: 23.95 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3212, allocations: 7.938 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.3212, allocations: 4 kB / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3213, allocations: 4 kB / 0.5634 GB, free: 1.855 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.0001143/0.3214, allocations: 125.8 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3214, allocations: 16.28 kB / 0.5635 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.3216, allocations: 111 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3216, allocations: 0 / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3217, allocations: 7.875 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3217, allocations: 8 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.3221, allocations: 354.5 kB / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3221, allocations: 0 / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.3222, allocations: 15.92 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3222, allocations: 3.938 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3222, allocations: 8 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3222, allocations: 0 / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3222, allocations: 0 / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.3224, allocations: 208.2 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.3225, allocations: 11.89 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.3225, allocations: 8 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.3226, allocations: 3.984 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.3226, allocations: 7.938 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3226, allocations: 7.984 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3227, allocations: 148.2 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3227, allocations: 0 / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.323, allocations: 27.92 kB / 0.5644 GB, free: 0.707 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.002219/0.3252, allocations: 1.098 MB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.3254, allocations: 59.89 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3254, allocations: 0 / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.3255, allocations: 28.05 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3258, allocations: 29.67 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3279, allocations: 1.654 MB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.3283, allocations: 0.7119 MB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.585e-05/0.3283, allocations: 17.27 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.3284, allocations: 39.42 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3284, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.3519, allocations: 3.661 MB / 0.5715 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.63, allocations: 8.812 kB / 0.5715 GB, free: 9.523 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.627604270994198] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.850256050995085 11.873709587 11.552846988 Calling exit ...