Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001776/0.001776, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002528/0.002528, allocations: 214.9 kB / 24.52 MB, free: 3.941 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: 7.781 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.2198/0.2198, allocations: 44.93 MB / 359.6 MB, free: 6.074 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.001961/0.001961, allocations: 55.91 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 65.48 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003375/0.328, allocations: 1.71 MB / 0.5595 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3298, allocations: 0.9676 MB / 0.5604 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.3298, allocations: 0 / 0.5604 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.3302, allocations: 43.77 kB / 0.5604 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.3306, allocations: 95.59 kB / 0.5605 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3308, allocations: 79.69 kB / 0.5606 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.3311, allocations: 107.7 kB / 0.5607 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3312, allocations: 9.828 kB / 0.5607 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.3313, allocations: 43.78 kB / 0.5608 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3314, allocations: 35.78 kB / 0.5608 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3314, allocations: 7.938 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3315, allocations: 43.98 kB / 0.5609 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3316, allocations: 15.92 kB / 0.5609 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.3316, allocations: 23.86 kB / 0.5609 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3319, allocations: 123.5 kB / 0.561 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3319, allocations: 3.938 kB / 0.561 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3319, allocations: 7.938 kB / 0.561 GB, free: 4.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3319, allocations: 0 / 0.561 GB, free: 4.219 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.0006082/0.3325, allocations: 333.6 kB / 0.5613 GB, free: 3.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3326, allocations: 16.02 kB / 0.5614 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.352e-05/0.3326, allocations: 192 / 0.5614 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.3326, allocations: 34.75 kB / 0.5614 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.3326, allocations: 16.84 kB / 0.5614 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3329, allocations: 146.3 kB / 0.5615 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.333, allocations: 8.125 kB / 0.5616 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.333, allocations: 4 kB / 0.5616 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3331, allocations: 69.61 kB / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3331, allocations: 0 / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3332, allocations: 0 / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3332, allocations: 0 / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.3332, allocations: 19.98 kB / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.3337, allocations: 259.9 kB / 0.5619 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3339, allocations: 58.62 kB / 0.5619 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.3339, allocations: 20.84 kB / 0.562 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.334, allocations: 4 kB / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.3342, allocations: 67.39 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3342, allocations: 0 / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005965/0.3348, allocations: 181.3 kB / 0.5622 GB, free: 2.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3348, allocations: 63.39 kB / 0.5623 GB, free: 2.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.335, allocations: 183.2 kB / 0.5624 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.335, allocations: 33.64 kB / 0.5625 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.3351, allocations: 104.1 kB / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.3351, allocations: 19.84 kB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.3352, allocations: 25.72 kB / 0.5626 GB, free: 2.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3353, allocations: 322.8 kB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/0.3354, allocations: 23.98 kB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.3355, allocations: 41.64 kB / 0.563 GB, free: 2.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3356, allocations: 65.69 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3356, allocations: 0 / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.3358, allocations: 101.5 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3358, allocations: 7.984 kB / 0.5632 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3358, allocations: 3.984 kB / 0.5632 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3358, allocations: 4.031 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.3359, allocations: 16 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3359, allocations: 3.938 kB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.336, allocations: 11.94 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.336, allocations: 3.984 kB / 0.5632 GB, free: 1.781 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.0001118/0.3361, allocations: 121.8 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3361, allocations: 11.95 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.3364, allocations: 123 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3364, allocations: 3.938 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3364, allocations: 8.219 kB / 0.5635 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3364, allocations: 4.359 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.3369, allocations: 362.4 kB / 0.5638 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.3369, allocations: 11.92 kB / 0.5638 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.337, allocations: 8 kB / 0.5638 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.337, allocations: 7.938 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.337, allocations: 0 / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.337, allocations: 0 / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.337, allocations: 0 / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.3373, allocations: 220.2 kB / 0.564 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.3373, allocations: 15.92 kB / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.3373, allocations: 4 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.3374, allocations: 4 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.3374, allocations: 7.984 kB / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3374, allocations: 4 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.3376, allocations: 145.8 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3376, allocations: 0 / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3378, allocations: 20 kB / 0.5642 GB, free: 0.625 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 (9): * Single equations (assignments): 7 * 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.002382/0.3402, allocations: 1.147 MB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3404, allocations: 59.91 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3404, allocations: 0 / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.295e-05/0.3405, allocations: 35.92 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3409, allocations: 25.73 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.343, allocations: 1.658 MB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.293e-05/0.3431, allocations: 92.19 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.152e-05/0.3431, allocations: 21.27 kB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.3432, allocations: 35.42 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3432, allocations: 0 / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.3686, allocations: 3.752 MB / 0.5709 GB, free: 9.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.03, allocations: 9.141 kB / 0.5709 GB, free: 9.953 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.020254099974409] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.247485375963151 12.263082476 11.928035611 Calling exit ...