Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001976/0.001976, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002652/0.002652, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2811/0.2811, allocations: 46.94 MB / 361.7 MB, free: 4.266 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.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.89 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 66.02 MB / 0.5615 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00309/0.3576, allocations: 1.702 MB / 0.5631 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3593, allocations: 1.03 MB / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.3593, allocations: 7.938 kB / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.3596, allocations: 59.78 kB / 0.5642 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.3599, allocations: 107.5 kB / 0.5643 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.3601, allocations: 71.75 kB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3603, allocations: 111.6 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.3603, allocations: 240 / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3604, allocations: 59.7 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.3605, allocations: 55.77 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3605, allocations: 4 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.3606, allocations: 27.98 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.3607, allocations: 27.84 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.3607, allocations: 27.81 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3609, allocations: 109.4 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3609, allocations: 0 / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3609, allocations: 0 / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3609, allocations: 3.938 kB / 0.5648 GB, free: 1.062 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004995/0.3614, allocations: 339.9 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3615, allocations: 12.03 kB / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.107e-05/0.3615, allocations: 192 / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.3615, allocations: 34.73 kB / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3615, allocations: 16.84 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3618, allocations: 147 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3618, allocations: 8.125 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3618, allocations: 0 / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3619, allocations: 45.67 kB / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3619, allocations: 8 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.362, allocations: 0 / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.362, allocations: 0 / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.531e-05/0.362, allocations: 15.98 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.3622, allocations: 156.7 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.3624, allocations: 54.5 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.3624, allocations: 24.84 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3624, allocations: 0 / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.3626, allocations: 63.39 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3626, allocations: 4 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003174/0.3629, allocations: 93.67 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3629, allocations: 51.41 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.3632, allocations: 206.1 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3632, allocations: 25.7 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.3632, allocations: 100.1 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.3633, allocations: 19.84 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3633, allocations: 21.7 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3635, allocations: 322.8 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.3635, allocations: 12.25 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-05/0.3636, allocations: 29.7 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3637, allocations: 57.58 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3637, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001598/0.3639, allocations: 77.59 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3639, allocations: 11.94 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3639, allocations: 0 / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3639, allocations: 0 / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.364, allocations: 19.92 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.364, allocations: 4.031 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.364, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.364, allocations: 4 kB / 0.5667 GB, free: 14.91 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 (7): * Single equations (assignments): 7 * 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.0001129/0.3641, allocations: 129.8 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.3642, allocations: 7.953 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.3644, allocations: 90.7 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3644, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3644, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3644, allocations: 4 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.3645, allocations: 164.6 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3646, allocations: 4 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.3646, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3646, allocations: 4 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3646, allocations: 4 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3646, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3646, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3648, allocations: 117.2 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.3648, allocations: 7.953 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3648, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.3649, allocations: 7.984 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.3649, allocations: 7.875 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3649, allocations: 4 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.365, allocations: 148.2 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.365, allocations: 0 / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000229/0.3653, allocations: 15.94 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001865/0.3671, allocations: 0.9601 MB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.3673, allocations: 43.91 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3673, allocations: 0 / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/0.3673, allocations: 16 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3676, allocations: 33.91 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3693, allocations: 1.502 MB / 0.5699 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3696, allocations: 0.7002 MB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.3697, allocations: 16.47 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.3698, allocations: 35.42 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3698, allocations: 0 / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.394, allocations: 3.342 MB / 0.5739 GB, free: 7.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 4.812 kB / 0.5739 GB, free: 7.566 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.62874841998564] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.757695945037995 11.786697346 11.420827046 Calling exit ...