Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001286/0.001286, 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.001556/0.001556, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8 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.2261/0.2261, allocations: 44.92 MB / 359.6 MB, free: 6.266 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.002323/0.002323, allocations: 63.91 kB / 0.4939 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3015, allocations: 65.46 MB / 0.5579 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003299/0.3048, allocations: 1.733 MB / 0.5596 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3067, allocations: 1.053 MB / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.3068, allocations: 0 / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3071, allocations: 55.75 kB / 0.5606 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.3074, allocations: 107.5 kB / 0.5607 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.3076, allocations: 75.72 kB / 0.5608 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.3078, allocations: 103.7 kB / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.846e-05/0.3079, allocations: 13.95 kB / 0.5609 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.308, allocations: 47.67 kB / 0.561 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.308, allocations: 35.83 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3081, allocations: 4 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.3082, allocations: 43.92 kB / 0.561 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.3082, allocations: 35.84 kB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.3083, allocations: 35.69 kB / 0.5611 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.3085, allocations: 139.4 kB / 0.5612 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3085, allocations: 4 kB / 0.5613 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3085, allocations: 0 / 0.5613 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3085, allocations: 0 / 0.5613 GB, free: 4.227 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.0005862/0.3091, allocations: 385.2 kB / 0.5616 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3092, allocations: 12.03 kB / 0.5616 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.787e-05/0.3092, allocations: 4.188 kB / 0.5616 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.3092, allocations: 30.75 kB / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.3093, allocations: 16.84 kB / 0.5617 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.3095, allocations: 163.2 kB / 0.5618 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3096, allocations: 12.11 kB / 0.5618 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.3096, allocations: 0 / 0.5618 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3097, allocations: 53.67 kB / 0.5619 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3097, allocations: 4 kB / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3098, allocations: 0 / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3098, allocations: 0 / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.3098, allocations: 23.92 kB / 0.5619 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.3102, allocations: 271.9 kB / 0.5622 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3104, allocations: 54.67 kB / 0.5622 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.3105, allocations: 20.84 kB / 0.5623 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3105, allocations: 0 / 0.5623 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3106, allocations: 71.33 kB / 0.5623 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3106, allocations: 0 / 0.5623 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005505/0.3112, allocations: 185.3 kB / 0.5625 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.3112, allocations: 59.41 kB / 0.5626 GB, free: 2.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.3115, allocations: 275.7 kB / 0.5628 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3115, allocations: 29.7 kB / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.3116, allocations: 112.1 kB / 0.563 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.3117, allocations: 27.78 kB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.3117, allocations: 25.72 kB / 0.563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3118, allocations: 326.8 kB / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.3119, allocations: 23.98 kB / 0.5633 GB, free: 1.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.312, allocations: 37.64 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3121, allocations: 57.64 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3121, allocations: 0 / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.3123, allocations: 117.5 kB / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3123, allocations: 14.59 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3123, allocations: 0 / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3123, allocations: 0 / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.3124, allocations: 16.36 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3124, allocations: 7.938 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.3125, allocations: 4 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3125, allocations: 4 kB / 0.5636 GB, free: 1.621 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.0001208/0.3126, allocations: 140.8 kB / 0.5637 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3126, allocations: 15.91 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.3129, allocations: 119.2 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3129, allocations: 3.984 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3129, allocations: 7.922 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3129, allocations: 0 / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.3134, allocations: 374.5 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3134, allocations: 8.031 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.3134, allocations: 7.984 kB / 0.5642 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3134, allocations: 7.938 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3134, allocations: 0 / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3134, allocations: 0 / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3134, allocations: 4 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3137, allocations: 204.2 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.3137, allocations: 19.84 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.3137, allocations: 7.984 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.3138, allocations: 4 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.3138, allocations: 7.984 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3139, allocations: 4 kB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.314, allocations: 196.6 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.314, allocations: 0 / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3143, allocations: 31.92 kB / 0.5647 GB, free: 396 kB / 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.002203/0.3165, allocations: 1.106 MB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.3168, allocations: 55.91 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3168, allocations: 0 / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.3168, allocations: 23.98 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3172, allocations: 30.53 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3195, allocations: 1.832 MB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3199, allocations: 0.7256 MB / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.475e-05/0.3199, allocations: 12.98 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.32, allocations: 47.41 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.32, allocations: 4 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3432, allocations: 4.007 MB / 0.5724 GB, free: 8.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.67, allocations: 0 / 0.5724 GB, free: 8.672 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.6645285889972] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.889577888010535 11.907385842 11.595684329 Calling exit ...