Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001309/0.001309, 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.001544/0.001544, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.233/0.233, allocations: 46.93 MB / 361.6 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.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.91 kB / 0.497 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3096, allocations: 66.04 MB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003015/0.3126, allocations: 1.74 MB / 0.5632 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3143, allocations: 1.057 MB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.3143, allocations: 0 / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3145, allocations: 39.77 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3148, allocations: 95.59 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.315, allocations: 83.66 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3152, allocations: 103.7 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.3152, allocations: 9.906 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.3153, allocations: 55.78 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.3154, allocations: 27.84 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3154, allocations: 4 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.3155, allocations: 39.98 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.3156, allocations: 23.91 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.3156, allocations: 39.69 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.3158, allocations: 127.4 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3158, allocations: 0 / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3158, allocations: 0 / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3158, allocations: 0 / 0.5648 GB, free: 1.004 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.0005011/0.3163, allocations: 349.6 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3164, allocations: 8.031 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.289e-05/0.3164, allocations: 192 / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.3164, allocations: 38.73 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3165, allocations: 12.89 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3167, allocations: 158.9 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3167, allocations: 4.125 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.3167, allocations: 8 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3169, allocations: 53.67 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3169, allocations: 0 / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3169, allocations: 4 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3169, allocations: 0 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.317, allocations: 19.98 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.3173, allocations: 252 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3175, allocations: 62.61 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.3175, allocations: 16.86 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3175, allocations: 7.984 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.3177, allocations: 67.33 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3177, allocations: 0 / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000506/0.3182, allocations: 177.4 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.3182, allocations: 63.39 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3184, allocations: 194.2 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3185, allocations: 33.69 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.3185, allocations: 100.1 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.3186, allocations: 31.77 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3186, allocations: 21.72 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3188, allocations: 326.8 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.3188, allocations: 15.98 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.3189, allocations: 41.7 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.319, allocations: 57.7 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.319, allocations: 0 / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.3192, allocations: 101.5 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3192, allocations: 6.844 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.3192, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3192, allocations: 11.97 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.3193, allocations: 23.92 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3193, allocations: 3.938 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.3194, allocations: 4 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3194, allocations: 0 / 0.567 GB, free: 14.57 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.0001057/0.3195, allocations: 129.8 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3195, allocations: 11.91 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.3197, allocations: 115.2 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3197, allocations: 8 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3197, allocations: 7.875 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3197, allocations: 0 / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.3202, allocations: 354.5 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3202, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.3202, allocations: 15.92 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3202, allocations: 3.938 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3202, allocations: 8 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3202, allocations: 0 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3202, allocations: 4.031 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3205, allocations: 204.2 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.3205, allocations: 19.88 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3206, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3206, allocations: 8.359 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.3207, allocations: 7.938 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3207, allocations: 15.98 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3208, allocations: 144.2 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3208, allocations: 0 / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3211, allocations: 27.92 kB / 0.5681 GB, free: 13.41 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 (8): * Single equations (assignments): 6 * 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.002153/0.3232, allocations: 1.089 MB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.3234, allocations: 59.89 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3234, allocations: 0 / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.3235, allocations: 32.14 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3238, allocations: 37.12 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.3256, allocations: 1.65 MB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.326, allocations: 0.7119 MB / 0.5715 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.015e-05/0.326, allocations: 12.97 kB / 0.5716 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.3261, allocations: 35.42 kB / 0.5716 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3261, allocations: 0 / 0.5716 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3484, allocations: 3.653 MB / 0.5752 GB, free: 6.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.67, allocations: 8.188 kB / 0.5752 GB, free: 6.246 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.635769298998639] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.888037253986113 11.904442853 11.585430443 Calling exit ...