Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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: 105.1 kB / 21.22 MB, free: 0.6289 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.001723/0.001723, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.789 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.2219/0.2219, allocations: 46.96 MB / 361.7 MB, free: 4.055 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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.318, allocations: 66.03 MB / 0.5614 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003386/0.3214, allocations: 1.714 MB / 0.5631 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3231, allocations: 0.9702 MB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.3232, allocations: 0 / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.3234, allocations: 43.77 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.3238, allocations: 95.55 kB / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.324, allocations: 83.66 kB / 0.5643 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.3242, allocations: 107.7 kB / 0.5644 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3243, allocations: 5.828 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.3244, allocations: 47.77 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.3245, allocations: 31.8 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3245, allocations: 4 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.3246, allocations: 47.97 kB / 0.5645 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.3246, allocations: 19.92 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.3247, allocations: 31.75 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3249, allocations: 123.5 kB / 0.5647 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3249, allocations: 0 / 0.5647 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3249, allocations: 0 / 0.5647 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3249, allocations: 4 kB / 0.5647 GB, free: 0.9219 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.0005778/0.3255, allocations: 345.5 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3256, allocations: 12.03 kB / 0.565 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.036e-05/0.3256, allocations: 192 / 0.565 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.3256, allocations: 30.75 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.3257, allocations: 12.89 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.3259, allocations: 158.9 kB / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3259, allocations: 8.125 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.326, allocations: 0 / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3261, allocations: 57.67 kB / 0.5653 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3261, allocations: 0 / 0.5653 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3261, allocations: 3.984 kB / 0.5653 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3261, allocations: 0 / 0.5653 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/0.3262, allocations: 23.98 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.3266, allocations: 256.1 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3268, allocations: 62.61 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.3268, allocations: 16.86 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3269, allocations: 0 / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.327, allocations: 75.38 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.327, allocations: 3.938 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005836/0.3276, allocations: 185.3 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.3277, allocations: 55.41 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.3279, allocations: 206.2 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3279, allocations: 29.7 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.328, allocations: 104.1 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.328, allocations: 23.8 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.3281, allocations: 29.64 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3282, allocations: 326.8 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.3283, allocations: 23.92 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.3283, allocations: 33.7 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3285, allocations: 61.7 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3285, allocations: 0 / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.3287, allocations: 109.5 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3287, allocations: 8 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3287, allocations: 0 / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3287, allocations: 0 / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.3288, allocations: 19.97 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3288, allocations: 3.938 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.3289, allocations: 7.938 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3289, allocations: 4 kB / 0.5669 GB, free: 14.46 MB / 414.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.0001324/0.329, allocations: 125.8 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.329, allocations: 15.91 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.3293, allocations: 123.2 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3293, allocations: 0 / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3293, allocations: 0 / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3293, allocations: 3.938 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.3298, allocations: 374.4 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3298, allocations: 0 / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.3299, allocations: 11.98 kB / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3299, allocations: 8.219 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3299, allocations: 0 / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3299, allocations: 4.031 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3299, allocations: 7.938 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3302, allocations: 216.2 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.3302, allocations: 7.953 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3302, allocations: 8.312 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3303, allocations: 0 / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3304, allocations: 11.98 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3304, allocations: 8 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.3305, allocations: 156.2 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3305, allocations: 0 / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3308, allocations: 27.94 kB / 0.5679 GB, free: 13.28 MB / 414.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.002305/0.3331, allocations: 1.135 MB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3333, allocations: 71.89 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3333, allocations: 3.938 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.3334, allocations: 23.98 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3337, allocations: 33.14 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.3358, allocations: 1.67 MB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.3359, allocations: 92.31 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.336, allocations: 21.27 kB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.3361, allocations: 39.36 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3361, allocations: 7.938 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.3591, allocations: 3.797 MB / 0.5746 GB, free: 6.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.92, allocations: 16.05 kB / 0.5747 GB, free: 6.535 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.920186580973677] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.138337675016373 12.167301724 11.836987852 Calling exit ...