Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001727/0.001727, 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.001403/0.001403, 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2251/0.2251, allocations: 44.91 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.002036/0.002036, allocations: 67.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 65.47 MB / 0.5579 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003469/0.3362, allocations: 1.738 MB / 0.5596 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3381, allocations: 1.045 MB / 0.5606 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.3382, allocations: 7.938 kB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.3385, allocations: 35.77 kB / 0.5606 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.3389, allocations: 91.61 kB / 0.5607 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.3391, allocations: 87.66 kB / 0.5608 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3394, allocations: 107.6 kB / 0.5609 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3395, allocations: 13.8 kB / 0.5609 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3396, allocations: 43.73 kB / 0.561 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.3397, allocations: 35.84 kB / 0.561 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3397, allocations: 4 kB / 0.561 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3398, allocations: 39.98 kB / 0.561 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.3398, allocations: 15.92 kB / 0.561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.3399, allocations: 39.67 kB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.3402, allocations: 123.5 kB / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3402, allocations: 0 / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3402, allocations: 4 kB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3402, allocations: 0 / 0.5612 GB, free: 4.34 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.0005607/0.3407, allocations: 344.3 kB / 0.5615 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3408, allocations: 12.03 kB / 0.5615 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.686e-05/0.3408, allocations: 4.188 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.3408, allocations: 30.75 kB / 0.5616 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3409, allocations: 12.84 kB / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3412, allocations: 158.2 kB / 0.5617 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3412, allocations: 8.125 kB / 0.5617 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3412, allocations: 4 kB / 0.5617 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3414, allocations: 53.67 kB / 0.5618 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3414, allocations: 0 / 0.5618 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3414, allocations: 3.984 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3414, allocations: 4 kB / 0.5618 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.3415, allocations: 15.98 kB / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.3419, allocations: 260 kB / 0.5621 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.342, allocations: 54.62 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.3421, allocations: 20.84 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3421, allocations: 0 / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.3423, allocations: 67.39 kB / 0.5622 GB, free: 3.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3423, allocations: 4 kB / 0.5622 GB, free: 3.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005776/0.3429, allocations: 181.3 kB / 0.5624 GB, free: 2.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3429, allocations: 55.41 kB / 0.5624 GB, free: 2.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.3432, allocations: 183.2 kB / 0.5626 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3432, allocations: 29.69 kB / 0.5626 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.3433, allocations: 100.1 kB / 0.5627 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.3433, allocations: 27.78 kB / 0.5628 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.3434, allocations: 25.66 kB / 0.5628 GB, free: 2.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3435, allocations: 326.8 kB / 0.5631 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.3436, allocations: 19.98 kB / 0.5631 GB, free: 2.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.3437, allocations: 41.64 kB / 0.5632 GB, free: 2.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3438, allocations: 61.77 kB / 0.5632 GB, free: 2.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3438, allocations: 0 / 0.5632 GB, free: 2.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002167/0.344, allocations: 109.5 kB / 0.5633 GB, free: 1.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.344, allocations: 4 kB / 0.5633 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.344, allocations: 384 / 0.5633 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.344, allocations: 7.938 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.3441, allocations: 15.98 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3441, allocations: 7.875 kB / 0.5634 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.3442, allocations: 12 kB / 0.5634 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3442, allocations: 0 / 0.5634 GB, free: 1.914 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.000149/0.3443, allocations: 121.8 kB / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.3444, allocations: 15.98 kB / 0.5635 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.3446, allocations: 119 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3446, allocations: 0 / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.3446, allocations: 3.938 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3446, allocations: 0 / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.3451, allocations: 362.4 kB / 0.564 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3451, allocations: 0 / 0.564 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.3451, allocations: 11.94 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3451, allocations: 7.969 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3452, allocations: 7.984 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3452, allocations: 0 / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3452, allocations: 0 / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3454, allocations: 196.3 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.3455, allocations: 15.84 kB / 0.5642 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3455, allocations: 0 / 0.5642 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.3455, allocations: 12 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3456, allocations: 7.984 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3456, allocations: 7.938 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3457, allocations: 137.8 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3457, allocations: 0 / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.346, allocations: 23.94 kB / 0.5644 GB, free: 0.7891 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.002449/0.3485, allocations: 1.093 MB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3486, allocations: 59.92 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3487, allocations: 0 / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.3487, allocations: 27.92 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.3491, allocations: 39.53 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3511, allocations: 1.642 MB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3515, allocations: 0.7041 MB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.3515, allocations: 21.28 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/0.3516, allocations: 35.42 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3516, allocations: 0 / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.3754, allocations: 3.595 MB / 0.5714 GB, free: 9.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.75, allocations: 13.5 kB / 0.5714 GB, free: 9.691 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.754247718024999] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.969547097978648 11.986026456 11.642515159 Calling exit ...