Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.00152/0.00152, 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.001769/0.001769, allocations: 212.8 kB / 24.51 MB, free: 3.918 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2662/0.2662, allocations: 46.97 MB / 361.7 MB, free: 4.059 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.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003154/0.003154, allocations: 75.88 kB / 0.4969 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3273, allocations: 66.03 MB / 0.5614 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003086/0.3304, allocations: 1.714 MB / 0.5631 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.332, allocations: 0.9637 MB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.3321, allocations: 4 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.3323, allocations: 43.77 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.3327, allocations: 95.59 kB / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3328, allocations: 79.67 kB / 0.5643 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.333, allocations: 115.6 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.3331, allocations: 9.828 kB / 0.5644 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.3332, allocations: 39.8 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.3333, allocations: 39.77 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3333, allocations: 4 kB / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.3334, allocations: 39.98 kB / 0.5645 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.3335, allocations: 23.92 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.3335, allocations: 31.73 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3337, allocations: 127.4 kB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3337, allocations: 0 / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3337, allocations: 4 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3337, allocations: 0 / 0.5647 GB, free: 0.9141 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.0005397/0.3343, allocations: 349.5 kB / 0.565 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3343, allocations: 12.03 kB / 0.565 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.222e-05/0.3343, allocations: 192 / 0.565 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.3344, allocations: 34.75 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3344, allocations: 12.89 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3347, allocations: 158.2 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3347, allocations: 8.125 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3347, allocations: 4 kB / 0.5652 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3348, allocations: 57.67 kB / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3349, allocations: 0 / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3349, allocations: 0 / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3349, allocations: 3.984 kB / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.335, allocations: 19.98 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.3354, allocations: 260 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3355, allocations: 62.55 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.3356, allocations: 20.8 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3356, allocations: 8 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3358, allocations: 67.38 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3358, allocations: 4 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005855/0.3364, allocations: 185.3 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3364, allocations: 55.41 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.3366, allocations: 218.6 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3367, allocations: 29.7 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3367, allocations: 104.1 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3368, allocations: 27.75 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3368, allocations: 25.72 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3369, allocations: 330.8 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.337, allocations: 19.98 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.3371, allocations: 37.7 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3372, allocations: 61.7 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3372, allocations: 384 / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.3374, allocations: 105.5 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3374, allocations: 4 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3374, allocations: 0 / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3374, allocations: 8.031 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.3375, allocations: 16 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3375, allocations: 7.922 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.3376, allocations: 15.88 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3376, allocations: 0 / 0.5669 GB, free: 14.42 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.0001276/0.3377, allocations: 129.8 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.3378, allocations: 15.91 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.338, allocations: 119 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.338, allocations: 0 / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.338, allocations: 7.938 kB / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.338, allocations: 0 / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.3385, allocations: 374.8 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3385, allocations: 4 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.3386, allocations: 11.98 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3386, allocations: 7.875 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3386, allocations: 4 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3386, allocations: 3.938 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3386, allocations: 80 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.3389, allocations: 216.2 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.3389, allocations: 19.92 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3389, allocations: 3.984 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.339, allocations: 4 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.339, allocations: 7.984 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.339, allocations: 8 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3392, allocations: 156.3 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3392, allocations: 0 / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3395, allocations: 23.94 kB / 0.568 GB, free: 13.23 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.002363/0.3418, allocations: 1.136 MB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.342, allocations: 67.84 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.342, allocations: 0 / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.3421, allocations: 23.98 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3425, allocations: 38.55 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3444, allocations: 1.701 MB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.3445, allocations: 96.61 kB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.3446, allocations: 24.88 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.3447, allocations: 39.36 kB / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3447, allocations: 0 / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.3675, allocations: 3.862 MB / 0.5748 GB, free: 6.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.7, allocations: 10.53 kB / 0.5748 GB, free: 6.398 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.855743827996776] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.915128323016688 11.929161221 11.592332174 Calling exit ...