Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001867/0.001867, 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.002223/0.002223, allocations: 211.6 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.481/1.481, 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.2326/0.2326, allocations: 46.97 MB / 361.7 MB, free: 4.02 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.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 59.91 kB / 0.4969 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 66.04 MB / 0.5614 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003106/0.3553, allocations: 1.71 MB / 0.5631 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.3578, allocations: 1.661 MB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.3579, allocations: 0 / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3582, allocations: 35.77 kB / 0.5647 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.3585, allocations: 103.5 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.3587, allocations: 79.67 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.3589, allocations: 103.7 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.359, allocations: 17.81 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.3591, allocations: 51.73 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.3592, allocations: 43.77 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3593, allocations: 8 kB / 0.5651 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.3594, allocations: 99.94 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.3595, allocations: 19.86 kB / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.3595, allocations: 31.84 kB / 0.5653 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.3598, allocations: 171.4 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3598, allocations: 0 / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3598, allocations: 0 / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3598, allocations: 0 / 0.5654 GB, free: 36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005858/0.3604, allocations: 353.5 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3605, allocations: 8.031 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.221e-05/0.3605, allocations: 4.188 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.3605, allocations: 34.69 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.3606, allocations: 16.83 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3608, allocations: 157.3 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3609, allocations: 0 / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3609, allocations: 8 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3611, allocations: 93.09 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3611, allocations: 0 / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3611, allocations: 7.984 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3611, allocations: 0 / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.3612, allocations: 27.92 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.3616, allocations: 259.9 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.3618, allocations: 58.67 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.3618, allocations: 20.8 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3618, allocations: 0 / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.362, allocations: 75.31 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.362, allocations: 4 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000567/0.3626, allocations: 185.3 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3626, allocations: 77.11 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3628, allocations: 169.9 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3629, allocations: 25.7 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.3629, allocations: 100.1 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.363, allocations: 27.75 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.363, allocations: 25.7 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3632, allocations: 322.8 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.3632, allocations: 20 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.3633, allocations: 76.25 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.3634, allocations: 61.66 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3634, allocations: 0 / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002203/0.3637, allocations: 101.6 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3637, allocations: 8 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3637, allocations: 0 / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3637, allocations: 7.875 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3638, allocations: 15.98 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3638, allocations: 8.062 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.3639, allocations: 0 / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3639, allocations: 4 kB / 0.5677 GB, free: 13.49 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.000131/0.364, allocations: 125.8 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.364, allocations: 7.953 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.3643, allocations: 118.3 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3643, allocations: 3.938 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3643, allocations: 288 / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3643, allocations: 0 / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.3649, allocations: 378.5 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3649, allocations: 4.312 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.3649, allocations: 11.98 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3649, allocations: 3.938 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3649, allocations: 12 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3649, allocations: 0 / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3649, allocations: 4.016 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.3652, allocations: 220.2 kB / 0.5686 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.3652, allocations: 11.94 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.3653, allocations: 4 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.3654, allocations: 8.031 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.3654, allocations: 11.97 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.3654, allocations: 8 kB / 0.5686 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.3656, allocations: 123.2 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3656, allocations: 0 / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.3659, allocations: 51.81 kB / 0.5688 GB, free: 12.31 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.002739/0.3686, allocations: 1.242 MB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3689, allocations: 63.89 kB / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3689, allocations: 0 / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.3689, allocations: 27.94 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3693, allocations: 33.59 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.3713, allocations: 1.605 MB / 0.5717 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.3714, allocations: 85.31 kB / 0.5717 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.5e-05/0.3715, allocations: 16.97 kB / 0.5718 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.3716, allocations: 39.36 kB / 0.5718 GB, free: 9.324 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3716, allocations: 0 / 0.5718 GB, free: 9.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.3966, allocations: 4.401 MB / 0.5761 GB, free: 4.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 3.375 kB / 0.5761 GB, free: 4.973 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.901081433985382] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.054230466019362 12.081549094 11.716622844 Calling exit ...