Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001361/0.001361, 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.001415/0.001415, allocations: 215.8 kB / 24.52 MB, free: 3.91 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.734 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.2279/0.2279, allocations: 46.98 MB / 361.7 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.Test42,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 59.91 kB / 0.4969 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 66.03 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003242/0.3576, allocations: 1.71 MB / 0.5631 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3595, allocations: 0.9743 MB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.3596, allocations: 0 / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.3599, allocations: 43.77 kB / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.3603, allocations: 99.59 kB / 0.5642 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.3606, allocations: 79.67 kB / 0.5643 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3608, allocations: 103.6 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3609, allocations: 17.8 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.361, allocations: 39.8 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.361, allocations: 31.8 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3611, allocations: 4 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3612, allocations: 43.97 kB / 0.5645 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.3612, allocations: 23.92 kB / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3613, allocations: 31.73 kB / 0.5645 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3615, allocations: 123.4 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3616, allocations: 8 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3616, allocations: 0 / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3616, allocations: 0 / 0.5647 GB, free: 0.875 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.0006233/0.3622, allocations: 353.5 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3622, allocations: 8.031 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.362e-05/0.3622, allocations: 192 / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3623, allocations: 42.73 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.3623, allocations: 8.891 kB / 0.5651 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3626, allocations: 150.3 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3626, allocations: 12.06 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3627, allocations: 8 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3628, allocations: 53.67 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3628, allocations: 0 / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3628, allocations: 4 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3628, allocations: 0 / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.3629, allocations: 19.98 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.3634, allocations: 267.8 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.3635, allocations: 62.56 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.3636, allocations: 20.84 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.3636, allocations: 4 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.3638, allocations: 71.39 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.3638, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.3644, allocations: 189.3 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3644, allocations: 55.41 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3646, allocations: 222.6 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3646, allocations: 29.7 kB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.3647, allocations: 104.1 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.3647, allocations: 23.84 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3648, allocations: 25.72 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3649, allocations: 322.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.365, allocations: 27.92 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.3651, allocations: 37.7 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3652, allocations: 61.77 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3652, allocations: 0 / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000206/0.3654, allocations: 105.5 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3654, allocations: 11.98 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3654, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3654, allocations: 4.031 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.3655, allocations: 16 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3655, allocations: 7.938 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.3656, allocations: 3.938 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3656, allocations: 11.92 kB / 0.5669 GB, free: 14.37 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.0001101/0.3657, allocations: 121.8 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3657, allocations: 15.91 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.366, allocations: 123 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.366, allocations: 4 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.366, allocations: 8.219 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.366, allocations: 3.984 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.3665, allocations: 370.4 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3665, allocations: 3.938 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.3666, allocations: 8 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3666, allocations: 7.938 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3666, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.3666, allocations: 7.922 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3666, allocations: 0 / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.3669, allocations: 220.3 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.367, allocations: 11.89 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.367, allocations: 4.375 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.3671, allocations: 3.984 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.3671, allocations: 8 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.3671, allocations: 11.98 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3673, allocations: 156.3 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3673, allocations: 0 / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3675, allocations: 24 kB / 0.568 GB, free: 13.18 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.00234/0.3699, allocations: 1.146 MB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3701, allocations: 59.91 kB / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3701, allocations: 0 / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.3702, allocations: 28.11 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3705, allocations: 31.92 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3725, allocations: 1.694 MB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.817e-05/0.3726, allocations: 96.61 kB / 0.5709 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.1e-05/0.3727, allocations: 24.58 kB / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.3728, allocations: 31.42 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3728, allocations: 7.938 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.396, allocations: 3.864 MB / 0.5748 GB, free: 6.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 11.19 kB / 0.5748 GB, free: 6.352 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.91144442697987] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.088899106020108 12.113638052 11.747618382 Calling exit ...