Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001275/0.001275, 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.001459/0.001459, 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2211/0.2211, allocations: 44.92 MB / 359.6 MB, free: 6.293 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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.001986/0.001986, allocations: 71.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 65.47 MB / 0.5579 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003362/0.3246, allocations: 1.735 MB / 0.5596 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3265, allocations: 1.049 MB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.3265, allocations: 3.938 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3268, allocations: 39.77 kB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.3272, allocations: 95.59 kB / 0.5607 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.3274, allocations: 83.67 kB / 0.5608 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3276, allocations: 107.7 kB / 0.5609 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.3277, allocations: 13.75 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3278, allocations: 43.8 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.3279, allocations: 35.83 kB / 0.561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3279, allocations: 4 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.328, allocations: 39.98 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.3281, allocations: 15.94 kB / 0.561 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.3282, allocations: 39.73 kB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.3284, allocations: 123.4 kB / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3284, allocations: 0 / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3284, allocations: 4 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3284, allocations: 0 / 0.5612 GB, free: 4.293 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.0005774/0.329, allocations: 349.6 kB / 0.5615 GB, free: 3.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.329, allocations: 11.97 kB / 0.5615 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.3291, allocations: 4.188 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.3291, allocations: 34.75 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3292, allocations: 8.891 kB / 0.5616 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.3295, allocations: 154.9 kB / 0.5617 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3295, allocations: 16.12 kB / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3295, allocations: 7.938 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3297, allocations: 49.67 kB / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3297, allocations: 0 / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3297, allocations: 4 kB / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3297, allocations: 4 kB / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.3298, allocations: 15.98 kB / 0.5618 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.3302, allocations: 264 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.3304, allocations: 58.61 kB / 0.5621 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.3304, allocations: 16.86 kB / 0.5622 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3304, allocations: 0 / 0.5622 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.3306, allocations: 67.33 kB / 0.5622 GB, free: 3.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3306, allocations: 4 kB / 0.5622 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005315/0.3311, allocations: 177.3 kB / 0.5624 GB, free: 2.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.3312, allocations: 59.41 kB / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.3314, allocations: 198.2 kB / 0.5626 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3314, allocations: 25.7 kB / 0.5627 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.3315, allocations: 104.1 kB / 0.5628 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.3315, allocations: 27.78 kB / 0.5628 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.3315, allocations: 17.72 kB / 0.5628 GB, free: 2.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3317, allocations: 330.8 kB / 0.5631 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.3317, allocations: 23.92 kB / 0.5631 GB, free: 2.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.3318, allocations: 33.7 kB / 0.5632 GB, free: 2.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3319, allocations: 61.78 kB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3319, allocations: 0 / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.3321, allocations: 109.5 kB / 0.5633 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3321, allocations: 8 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3321, allocations: 3.984 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3322, allocations: 0 / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.3322, allocations: 19.98 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3323, allocations: 7.938 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.3323, allocations: 192 / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.3323, allocations: 4.375 kB / 0.5634 GB, free: 1.852 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.0001136/0.3324, allocations: 136.4 kB / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3325, allocations: 19.94 kB / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.3327, allocations: 107.1 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3327, allocations: 0 / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3327, allocations: 7.938 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3327, allocations: 0 / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.3332, allocations: 362.4 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3332, allocations: 0 / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.3333, allocations: 15.94 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.3333, allocations: 7.969 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3333, allocations: 7.984 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3333, allocations: 0 / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3333, allocations: 0 / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.3336, allocations: 200.2 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.3336, allocations: 15.89 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.3337, allocations: 8 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.3337, allocations: 3.984 kB / 0.5642 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.3338, allocations: 4 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3338, allocations: 8 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3339, allocations: 144.2 kB / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3339, allocations: 0 / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3342, allocations: 31.86 kB / 0.5644 GB, free: 0.6992 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.002462/0.3367, allocations: 1.095 MB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.3369, allocations: 59.91 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3369, allocations: 3.938 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.337, allocations: 23.94 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.0004684/0.3375, allocations: 34.41 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.3395, allocations: 1.658 MB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3399, allocations: 0.708 MB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.3399, allocations: 17.27 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.34, allocations: 35.42 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.34, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.364, allocations: 3.661 MB / 0.5715 GB, free: 9.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 14.92 kB / 0.5716 GB, free: 9.516 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.727619318990037] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.973310847999528 12.003031591 11.669321282 Calling exit ...