Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000773/0.0007731, allocations: 95.97 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1729/0.1729, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.042e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.479, allocations: 89.18 MB / 0.5888 GB, free: 140 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4792, allocations: 72.69 kB / 0.5889 GB, free: 68 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.4935, allocations: 5.47 MB / 0.5942 GB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4936, allocations: 0 / 0.5942 GB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.4936, allocations: 0 / 0.5942 GB, free: 10.61 MB / 410.7 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.0004011/0.494, allocations: 390.2 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.494, allocations: 8.031 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.4941, allocations: 7.906 kB / 0.5946 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.4943, allocations: 214.8 kB / 0.5948 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4944, allocations: 15.89 kB / 0.5948 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.4944, allocations: 0 / 0.5948 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.4945, allocations: 57.67 kB / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.4945, allocations: 0 / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4945, allocations: 0 / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4946, allocations: 0 / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.637e-05/0.4946, allocations: 31.86 kB / 0.5949 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.4949, allocations: 288.9 kB / 0.5952 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.4951, allocations: 58.69 kB / 0.5952 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.4951, allocations: 24.91 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.4951, allocations: 4 kB / 0.5953 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.4953, allocations: 63.41 kB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.4953, allocations: 0 / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004119/0.4957, allocations: 161.1 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.4957, allocations: 51.41 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.4959, allocations: 169.4 kB / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.4959, allocations: 25.7 kB / 0.5957 GB, free: 8.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.496, allocations: 100.1 kB / 0.5958 GB, free: 8.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.496, allocations: 27.69 kB / 0.5958 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.496, allocations: 0 / 0.5958 GB, free: 8.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.4961, allocations: 330.8 kB / 0.5962 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.4961, allocations: 20 kB / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.4962, allocations: 33.72 kB / 0.5962 GB, free: 8.355 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.4962, allocations: 23.98 kB / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4963, allocations: 0 / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001358/0.4964, allocations: 97.44 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4964, allocations: 8 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4964, allocations: 0 / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.4964, allocations: 0 / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.4966, allocations: 23.95 kB / 0.5964 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4966, allocations: 4 kB / 0.5964 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.4966, allocations: 7.938 kB / 0.5964 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4966, allocations: 4 kB / 0.5964 GB, free: 8.184 MB / 410.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.4967, allocations: 118.5 kB / 0.5965 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.4967, allocations: 11.89 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.4969, allocations: 114.4 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4969, allocations: 0 / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.497, allocations: 4 kB / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.497, allocations: 3.984 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.4973, allocations: 411.2 kB / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4974, allocations: 0 / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.4974, allocations: 12 kB / 0.597 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4974, allocations: 3.938 kB / 0.597 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4974, allocations: 4 kB / 0.597 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4974, allocations: 4 kB / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4974, allocations: 0 / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.4976, allocations: 217.9 kB / 0.5972 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.4977, allocations: 93 kB / 0.5973 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4977, allocations: 4 kB / 0.5973 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.4978, allocations: 4 kB / 0.5973 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.4978, allocations: 15.88 kB / 0.5973 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.4979, allocations: 8 kB / 0.5973 GB, free: 7.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.498, allocations: 144.9 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.498, allocations: 0 / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.4982, allocations: 28 kB / 0.5975 GB, free: 6.898 MB / 410.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008988/0.4991, allocations: 437.9 kB / 0.5979 GB, free: 6.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.4992, allocations: 55.94 kB / 0.598 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4993, allocations: 0 / 0.598 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.4993, allocations: 31.94 kB / 0.598 GB, free: 6.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.4996, allocations: 31.81 kB / 0.598 GB, free: 6.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.4999, allocations: 163 kB / 0.5982 GB, free: 6.273 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.5001, allocations: 0.7082 MB / 0.5989 GB, free: 5.539 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.5002, allocations: 16.41 kB / 0.5989 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.5002, allocations: 15.44 kB / 0.5989 GB, free: 5.508 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5002, allocations: 0 / 0.5989 GB, free: 5.508 MB / 410.7 MB Notification: Performance of Templates: time 0.003737/0.504, allocations: 1.694 MB / 0.6006 GB, free: 3.828 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches