Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001637/0.001637, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001918/0.001918, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 8 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.2548/0.2548, allocations: 46.94 MB / 361.7 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 0.497 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3515, allocations: 66.03 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003424/0.3549, allocations: 1.69 MB / 0.5631 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.3568, allocations: 1.022 MB / 0.5641 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.3569, allocations: 3.938 kB / 0.5641 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.3572, allocations: 87.73 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.3576, allocations: 115.5 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.3578, allocations: 75.73 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.358, allocations: 115.6 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.3581, allocations: 8.219 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3582, allocations: 55.77 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3583, allocations: 55.77 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3584, allocations: 4 kB / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.3584, allocations: 39.97 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.3585, allocations: 23.86 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.3586, allocations: 31.75 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3588, allocations: 113.3 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3588, allocations: 0 / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3588, allocations: 4 kB / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3588, allocations: 0 / 0.5648 GB, free: 0.8672 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.0006002/0.3594, allocations: 349.5 kB / 0.5652 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3595, allocations: 8.031 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.683e-05/0.3595, allocations: 192 / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.3595, allocations: 34.75 kB / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.3596, allocations: 16.84 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.3599, allocations: 166.7 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3599, allocations: 8.125 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3599, allocations: 4 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3601, allocations: 45.67 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.3601, allocations: 0 / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3601, allocations: 0 / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3601, allocations: 4 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.3602, allocations: 15.98 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.3604, allocations: 156.8 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3606, allocations: 58.48 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.3606, allocations: 20.84 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3607, allocations: 0 / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.3608, allocations: 67.39 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3608, allocations: 0 / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003023/0.3611, allocations: 105.5 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3612, allocations: 51.41 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.3614, allocations: 215.6 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3614, allocations: 29.7 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.3615, allocations: 104.1 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.3616, allocations: 11.89 kB / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.3616, allocations: 21.66 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3618, allocations: 326.8 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.3618, allocations: 19.98 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.3619, allocations: 33.69 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.362, allocations: 45.59 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.362, allocations: 0 / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001719/0.3622, allocations: 85.58 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3622, allocations: 4 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3622, allocations: 4.031 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3622, allocations: 4 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.3623, allocations: 12.25 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3623, allocations: 0 / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.3623, allocations: 12 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3624, allocations: 3.984 kB / 0.5668 GB, free: 14.65 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.0001387/0.3625, allocations: 129.8 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3625, allocations: 11.91 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.3627, allocations: 98.69 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3627, allocations: 4 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3627, allocations: 0 / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3628, allocations: 0 / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3629, allocations: 168.6 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3629, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.3629, allocations: 4 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3629, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.363, allocations: 4 kB / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.363, allocations: 0 / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.363, allocations: 0 / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3632, allocations: 121 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.3632, allocations: 19.89 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3632, allocations: 4 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.3632, allocations: 3.984 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3633, allocations: 3.938 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3633, allocations: 4 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3635, allocations: 173.1 kB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3635, allocations: 4 kB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.3637, allocations: 19.94 kB / 0.5675 GB, free: 13.81 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.001909/0.3656, allocations: 0.9449 MB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.3658, allocations: 39.92 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3658, allocations: 0 / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.3658, allocations: 19.98 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3661, allocations: 33.3 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3679, allocations: 1.576 MB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3682, allocations: 0.7119 MB / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.3683, allocations: 20.47 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.3684, allocations: 35.42 kB / 0.5708 GB, free: 10.46 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3684, allocations: 0 / 0.5708 GB, free: 10.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.3909, allocations: 3.445 MB / 0.5742 GB, free: 7.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 14 kB / 0.5742 GB, free: 7.086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.788414174981881] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.804397847969085 11.828221756 11.464554917 Calling exit ...