Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.00171/0.00171, 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.002326/0.002326, allocations: 211.9 kB / 24.51 MB, free: 3.945 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2228/0.2228, allocations: 46.94 MB / 361.6 MB, free: 4.012 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.Test45,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.84 kB / 0.4969 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 66.03 MB / 0.5614 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004329/0.3295, allocations: 1.716 MB / 0.5631 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.332, allocations: 0.9599 MB / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.3321, allocations: 0 / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.3325, allocations: 43.75 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.3329, allocations: 111.5 kB / 0.5642 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.3332, allocations: 75.73 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.3334, allocations: 107.6 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.3335, allocations: 5.828 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3336, allocations: 47.77 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.3337, allocations: 35.8 kB / 0.5644 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.3337, allocations: 4 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3338, allocations: 39.98 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.3339, allocations: 27.84 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.334, allocations: 31.8 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.3343, allocations: 127.4 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3343, allocations: 4 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3343, allocations: 0 / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3343, allocations: 0 / 0.5647 GB, free: 0.8281 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.0007329/0.335, allocations: 349.5 kB / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3351, allocations: 8.031 kB / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.453e-05/0.3351, allocations: 192 / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.3352, allocations: 42.69 kB / 0.565 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3352, allocations: 8.891 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.3356, allocations: 158.3 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3356, allocations: 8.125 kB / 0.5652 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.3356, allocations: 8 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3358, allocations: 49.67 kB / 0.5653 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3358, allocations: 0 / 0.5653 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3359, allocations: 4 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3359, allocations: 4 kB / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.336, allocations: 19.98 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.3365, allocations: 260 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3367, allocations: 58.67 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.3368, allocations: 24.84 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3368, allocations: 0 / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.337, allocations: 75.16 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 4.469e-06/0.337, allocations: 3.984 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007555/0.3378, allocations: 189.3 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.3379, allocations: 59.34 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.3382, allocations: 226.6 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3382, allocations: 29.7 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.3383, allocations: 100.1 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.3383, allocations: 23.86 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.3384, allocations: 29.7 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3386, allocations: 322.8 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.3387, allocations: 23.98 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3388, allocations: 41.64 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.339, allocations: 61.7 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.339, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002755/0.3392, allocations: 101.6 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3392, allocations: 12.03 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3393, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3393, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3394, allocations: 19.92 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3394, allocations: 7.938 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.3395, allocations: 7.938 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3395, allocations: 4 kB / 0.5669 GB, free: 14.32 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.0001381/0.3396, allocations: 125.8 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3397, allocations: 15.91 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.34, allocations: 123 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.34, allocations: 8 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3401, allocations: 3.938 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3401, allocations: 3.984 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.3407, allocations: 366.4 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3407, allocations: 0 / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.3408, allocations: 8 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.3408, allocations: 7.938 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3408, allocations: 4 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3408, allocations: 0 / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3408, allocations: 3.938 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.3412, allocations: 220.5 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.3412, allocations: 11.89 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.3412, allocations: 8 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3413, allocations: 4.406 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.3414, allocations: 11.92 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.3414, allocations: 8 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.3416, allocations: 164.3 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3416, allocations: 0 / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.342, allocations: 24 kB / 0.568 GB, free: 13.13 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.003022/0.3451, allocations: 1.134 MB / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.3453, allocations: 59.91 kB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3453, allocations: 0 / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3454, allocations: 35.98 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.346, allocations: 34.25 kB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3487, allocations: 1.701 MB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3488, allocations: 96.59 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.014e-05/0.3489, allocations: 24.64 kB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.349, allocations: 35.42 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.349, allocations: 4 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.3737, allocations: 3.852 MB / 0.5748 GB, free: 6.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.91, allocations: 10.5 kB / 0.5748 GB, free: 6.309 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.979179471032694] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.12787520000711 12.144699173 11.806899967 Calling exit ...