Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 113.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 198.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 79.86 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2902, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002899/0.2932, allocations: 1.734 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.2948, allocations: 1.022 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2949, allocations: 3.938 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.2952, allocations: 44.33 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.2954, allocations: 100.4 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.2956, allocations: 82.92 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.2959, allocations: 102.3 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.2959, allocations: 6.875 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.296, allocations: 46.89 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.2961, allocations: 34.8 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2961, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.2962, allocations: 39.48 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.2963, allocations: 29.47 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.2964, allocations: 47.92 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2966, allocations: 121.4 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2966, allocations: 0 / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.429e-06/0.2966, allocations: 1.156 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2966, allocations: 3.938 kB / 0.5351 GB, free: 11.04 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.0005454/0.2971, allocations: 429.6 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2972, allocations: 10.06 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.2972, allocations: 10 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.2975, allocations: 232.3 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.2975, allocations: 1.719 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.2975, allocations: 6.844 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2977, allocations: 53.67 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2977, allocations: 0 / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.2977, allocations: 0 / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2977, allocations: 8.984 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.2978, allocations: 22.64 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.2982, allocations: 294 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.2983, allocations: 61.05 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.2984, allocations: 21.5 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2984, allocations: 1.156 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.2986, allocations: 73.8 kB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.2986, allocations: 0 / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004971/0.2991, allocations: 183.7 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2992, allocations: 52.44 kB / 0.5365 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.2994, allocations: 236.7 kB / 0.5367 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2994, allocations: 30.7 kB / 0.5367 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.2995, allocations: 113.4 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.2995, allocations: 19.84 kB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.2996, allocations: 28.55 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2997, allocations: 331 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.2998, allocations: 18.73 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.2998, allocations: 36.11 kB / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2999, allocations: 55.22 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2999, allocations: 0 / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.3001, allocations: 108.1 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3002, allocations: 5.188 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3002, allocations: 1 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3002, allocations: 1.125 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.3003, allocations: 25.33 kB / 0.5374 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.3003, allocations: 1.25 kB / 0.5374 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.3004, allocations: 9.156 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3004, allocations: 2.688 kB / 0.5374 GB, free: 8.824 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.0001006/0.3005, allocations: 134.2 kB / 0.5376 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3005, allocations: 10.28 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.3006, allocations: 16.03 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3006, allocations: 1.469 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3006, allocations: 3.984 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3006, allocations: 5.219 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.301, allocations: 401.6 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.301, allocations: 0 / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.3011, allocations: 11.11 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3011, allocations: 5.125 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3011, allocations: 10.81 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.3011, allocations: 384 / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3011, allocations: 1.438 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3014, allocations: 204.9 kB / 0.5382 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.3014, allocations: 88.08 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.3015, allocations: 18.23 kB / 0.5383 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.3016, allocations: 5.938 kB / 0.5383 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3016, allocations: 7.188 kB / 0.5383 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.3016, allocations: 7.328 kB / 0.5383 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.3018, allocations: 170.2 kB / 0.5385 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3018, allocations: 0 / 0.5385 GB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3021, allocations: 29.02 kB / 0.5385 GB, free: 7.84 MB / 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.001058/0.3031, allocations: 459.2 kB / 0.539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.3033, allocations: 54.67 kB / 0.539 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3033, allocations: 0 / 0.539 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.3034, allocations: 33.89 kB / 0.539 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3038, allocations: 42.83 kB / 0.5391 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.3043, allocations: 282.9 kB / 0.5394 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3046, allocations: 0.7097 MB / 0.54 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.3046, allocations: 20.16 kB / 0.5401 GB, free: 6.602 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3046, allocations: 3.938 kB / 0.5401 GB, free: 6.598 MB / 398.1 MB Notification: Performance of Templates: time 0.003878/0.3085, allocations: 2.044 MB / 0.5421 GB, free: 5.535 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches