Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001789/0.001789, 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.002444/0.002444, allocations: 211.9 kB / 24.51 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.472/1.472, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 46.95 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.89 kB / 0.4969 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 66.03 MB / 0.5614 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004516/0.3242, allocations: 1.976 MB / 0.5633 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3263, allocations: 1.057 MB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.3264, allocations: 0 / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.3268, allocations: 55.62 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.3273, allocations: 107.4 kB / 0.5645 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3276, allocations: 115.6 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.3279, allocations: 203.4 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.328, allocations: 31.61 kB / 0.5649 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3282, allocations: 87.58 kB / 0.565 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3283, allocations: 79.61 kB / 0.565 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.3283, allocations: 12 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.3284, allocations: 51.98 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.3285, allocations: 39.78 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.3286, allocations: 63.64 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.329, allocations: 199.2 kB / 0.5654 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.329, allocations: 3.938 kB / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.329, allocations: 0 / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.329, allocations: 0 / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001042/0.33, allocations: 0.5004 MB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3301, allocations: 8.031 kB / 0.5659 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.21e-05/0.3301, allocations: 4.188 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.3302, allocations: 38.73 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.3302, allocations: 20.84 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.3306, allocations: 182.2 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.3306, allocations: 16.12 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.3306, allocations: 8 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.3311, allocations: 173.8 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3311, allocations: 4 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3311, allocations: 4 kB / 0.5663 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3311, allocations: 0 / 0.5663 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.3316, allocations: 119.8 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.3323, allocations: 0.4922 MB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.333, allocations: 158.5 kB / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.3332, allocations: 80.72 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3332, allocations: 4 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.3336, allocations: 160.9 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.3336, allocations: 7.938 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008619/0.3345, allocations: 261.3 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.3346, allocations: 55.41 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.3349, allocations: 236.1 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.3349, allocations: 33.7 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.335, allocations: 128.4 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.335, allocations: 39.69 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.3351, allocations: 37.7 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3353, allocations: 334.8 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3355, allocations: 97.62 kB / 0.5685 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.336, allocations: 133.9 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.3365, allocations: 193.8 kB / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3365, allocations: 0 / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007329/0.3372, allocations: 296.6 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.3373, allocations: 33.69 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3373, allocations: 4 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3373, allocations: 3.938 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.3375, allocations: 43.91 kB / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3375, allocations: 4 kB / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.3377, allocations: 23.92 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3377, allocations: 16.06 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001319/0.3378, allocations: 137.7 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3379, allocations: 15.91 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.3385, allocations: 218.9 kB / 0.5695 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3385, allocations: 4 kB / 0.5695 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3385, allocations: 0 / 0.5695 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3385, allocations: 4 kB / 0.5695 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3388, allocations: 192.6 kB / 0.5697 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3388, allocations: 0 / 0.5697 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.3389, allocations: 31.91 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3389, allocations: 0 / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.339, allocations: 7.922 kB / 0.5698 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.339, allocations: 0 / 0.5698 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.339, allocations: 0 / 0.5698 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008965/0.3399, allocations: 312.8 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.3399, allocations: 19.89 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.3399, allocations: 7.922 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.3401, allocations: 23.97 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.3402, allocations: 15.98 kB / 0.5701 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.3402, allocations: 15.98 kB / 0.5701 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.3404, allocations: 173.8 kB / 0.5703 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3404, allocations: 0 / 0.5703 GB, free: 10.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3406, allocations: 43.94 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002782/0.3434, allocations: 1.186 MB / 0.5715 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.3441, allocations: 244.8 kB / 0.5717 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3441, allocations: 0 / 0.5717 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.3444, allocations: 84.06 kB / 0.5718 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3447, allocations: 53.94 kB / 0.5719 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.3484, allocations: 2.309 MB / 0.5741 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3486, allocations: 120.1 kB / 0.5742 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3487, allocations: 25.41 kB / 0.5743 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.3488, allocations: 55.42 kB / 0.5743 GB, free: 6.551 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3488, allocations: 0 / 0.5743 GB, free: 6.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.3767, allocations: 5.526 MB / 0.5797 GB, free: 1.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.05, allocations: 7.938 kB / 0.5797 GB, free: 1.105 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.050159461097792] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 12.273046961985528 12.303441351 11.968875918 Calling exit ...