Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.002027/0.002027, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.0022/0.0022, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.223/0.223, allocations: 44.92 MB / 359.6 MB, free: 6.285 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.002349/0.002349, allocations: 63.91 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3149, allocations: 65.47 MB / 0.5579 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003457/0.3184, allocations: 1.745 MB / 0.5596 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3203, allocations: 1.038 MB / 0.5606 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.3204, allocations: 3.938 kB / 0.5606 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.3207, allocations: 51.75 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.3211, allocations: 99.53 kB / 0.5607 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.3213, allocations: 71.69 kB / 0.5608 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.3215, allocations: 107.7 kB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.3216, allocations: 9.828 kB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.3218, allocations: 51.72 kB / 0.561 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.3218, allocations: 31.84 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3219, allocations: 4 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.322, allocations: 43.92 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.322, allocations: 23.92 kB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.3221, allocations: 35.73 kB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3223, allocations: 119.5 kB / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3223, allocations: 3.938 kB / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3223, allocations: 0 / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3223, allocations: 0 / 0.5612 GB, free: 4.312 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.0005253/0.3229, allocations: 349.6 kB / 0.5615 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3229, allocations: 8.031 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.789e-05/0.3229, allocations: 4.125 kB / 0.5615 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.3229, allocations: 42.75 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.323, allocations: 8.891 kB / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3233, allocations: 155 kB / 0.5617 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3233, allocations: 4.125 kB / 0.5617 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3233, allocations: 7.984 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3235, allocations: 53.67 kB / 0.5618 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3235, allocations: 0 / 0.5618 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3235, allocations: 4 kB / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3235, allocations: 4 kB / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.3236, allocations: 23.92 kB / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.3239, allocations: 260 kB / 0.5621 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3241, allocations: 50.69 kB / 0.5621 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.3242, allocations: 24.83 kB / 0.5622 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3242, allocations: 4 kB / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.3244, allocations: 71.33 kB / 0.5622 GB, free: 3.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3244, allocations: 3.938 kB / 0.5622 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005737/0.3249, allocations: 173.3 kB / 0.5624 GB, free: 2.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.325, allocations: 55.41 kB / 0.5625 GB, free: 2.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3252, allocations: 202.2 kB / 0.5626 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3252, allocations: 25.7 kB / 0.5627 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.3253, allocations: 104.1 kB / 0.5628 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.3253, allocations: 23.8 kB / 0.5628 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.3254, allocations: 29.7 kB / 0.5628 GB, free: 2.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3256, allocations: 322.8 kB / 0.5631 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.3256, allocations: 23.98 kB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.3257, allocations: 33.66 kB / 0.5632 GB, free: 2.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3258, allocations: 65.7 kB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3258, allocations: 4 kB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002704/0.3261, allocations: 105.6 kB / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3261, allocations: 4 kB / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3261, allocations: 4 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3261, allocations: 3.938 kB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.3262, allocations: 12 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3262, allocations: 3.938 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.3263, allocations: 12.02 kB / 0.5634 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.3263, allocations: 4 kB / 0.5634 GB, free: 1.863 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.0001057/0.3264, allocations: 121.8 kB / 0.5635 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.3264, allocations: 11.91 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.3267, allocations: 119 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3267, allocations: 0 / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3267, allocations: 3.938 kB / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3267, allocations: 3.984 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3272, allocations: 366.8 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3272, allocations: 0 / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.3272, allocations: 12 kB / 0.564 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3272, allocations: 3.938 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3272, allocations: 4 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3272, allocations: 0 / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3272, allocations: 0 / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3275, allocations: 216.2 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.3275, allocations: 11.89 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3275, allocations: 4 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.3276, allocations: 0 / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.3276, allocations: 11.98 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3277, allocations: 4 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3278, allocations: 148.2 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3278, allocations: 0 / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3281, allocations: 27.94 kB / 0.5644 GB, free: 0.7188 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.002202/0.3303, allocations: 1.105 MB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3305, allocations: 47.98 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3305, allocations: 0 / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.3306, allocations: 31.92 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3309, allocations: 27.47 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.3329, allocations: 1.669 MB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.3334, allocations: 0.7041 MB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.3334, allocations: 21.27 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.3335, allocations: 35.42 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3335, allocations: 0 / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.3577, allocations: 3.66 MB / 0.5715 GB, free: 9.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.7, allocations: 4.812 kB / 0.5715 GB, free: 9.543 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.725415545981377] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.92270263802493 11.950768556 11.623398795 Calling exit ...