Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001479/0.001479, 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.00223/0.00223, 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.476/1.476, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 67.84 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3801, allocations: 65.47 MB / 0.5579 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003811/0.384, allocations: 1.742 MB / 0.5596 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3861, allocations: 1.053 MB / 0.5606 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.252e-05/0.3862, allocations: 3.938 kB / 0.5606 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.3866, allocations: 51.77 kB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.3869, allocations: 95.59 kB / 0.5607 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.3871, allocations: 87.66 kB / 0.5608 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.3873, allocations: 107.6 kB / 0.5609 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3875, allocations: 13.89 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3876, allocations: 43.78 kB / 0.561 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3877, allocations: 35.84 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.3877, allocations: 4 kB / 0.561 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3878, allocations: 43.97 kB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.3879, allocations: 27.86 kB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.388, allocations: 43.62 kB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.3882, allocations: 143.4 kB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3882, allocations: 0 / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3882, allocations: 4 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3883, allocations: 0 / 0.5613 GB, free: 4.25 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.0006533/0.3889, allocations: 381.3 kB / 0.5616 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.389, allocations: 8.031 kB / 0.5616 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.158e-05/0.389, allocations: 8.188 kB / 0.5616 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.389, allocations: 30.75 kB / 0.5617 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.3891, allocations: 16.84 kB / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.3894, allocations: 167 kB / 0.5618 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3894, allocations: 20 kB / 0.5619 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3894, allocations: 4 kB / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3896, allocations: 53.67 kB / 0.5619 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3896, allocations: 4 kB / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3896, allocations: 0 / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3896, allocations: 0 / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.3897, allocations: 15.98 kB / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.3901, allocations: 271.9 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3903, allocations: 62.62 kB / 0.5623 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.3904, allocations: 20.84 kB / 0.5623 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3904, allocations: 0 / 0.5623 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.3906, allocations: 67.39 kB / 0.5623 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3906, allocations: 4 kB / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006069/0.3912, allocations: 189.2 kB / 0.5625 GB, free: 2.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.3912, allocations: 55.41 kB / 0.5626 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.3916, allocations: 287.1 kB / 0.5629 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3916, allocations: 25.7 kB / 0.5629 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.3917, allocations: 116.1 kB / 0.563 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.3917, allocations: 23.8 kB / 0.563 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.3918, allocations: 25.7 kB / 0.563 GB, free: 2.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3919, allocations: 330.8 kB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.392, allocations: 27.92 kB / 0.5634 GB, free: 1.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.392, allocations: 37.64 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3922, allocations: 57.7 kB / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3922, allocations: 0 / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.3924, allocations: 117.5 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3924, allocations: 6.656 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3924, allocations: 0 / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3924, allocations: 4 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.3925, allocations: 15.98 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3925, allocations: 3.938 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.3926, allocations: 4 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3926, allocations: 3.938 kB / 0.5636 GB, free: 1.629 MB / 398.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.0001279/0.3927, allocations: 140.8 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3927, allocations: 15.94 kB / 0.5638 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.393, allocations: 115.4 kB / 0.5639 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.393, allocations: 7.938 kB / 0.5639 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.393, allocations: 3.938 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.393, allocations: 3.984 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.3935, allocations: 378.6 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3935, allocations: 4 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.3936, allocations: 19.95 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3936, allocations: 3.938 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3936, allocations: 4 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3936, allocations: 0 / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3936, allocations: 4.078 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3938, allocations: 204.3 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.3939, allocations: 19.8 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3939, allocations: 15.98 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.394, allocations: 0 / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.394, allocations: 7.984 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.394, allocations: 4 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.3942, allocations: 220.5 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3942, allocations: 0 / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3945, allocations: 23.94 kB / 0.5648 GB, free: 372 kB / 398.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.002241/0.3967, allocations: 1.095 MB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3969, allocations: 55.91 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3969, allocations: 0 / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.397, allocations: 27.92 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3974, allocations: 28.58 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.3997, allocations: 1.868 MB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.4001, allocations: 0.7236 MB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.4001, allocations: 16.95 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.4002, allocations: 47.42 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4002, allocations: 0 / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.428, allocations: 4.055 MB / 0.5725 GB, free: 8.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.54, allocations: 8.062 kB / 0.5725 GB, free: 8.559 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.641904063988477] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.761105437995866 11.788173103 11.394474945 Calling exit ...