Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 112.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 185.2 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 243.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1796/0.1796, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.294, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002834/0.2969, allocations: 1.584 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006731/0.2975, allocations: 406.4 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.2976, allocations: 4.969 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.2979, allocations: 72.41 kB / 0.5216 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.2981, allocations: 63.45 kB / 0.5217 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.2984, allocations: 85.92 kB / 0.5217 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.2986, allocations: 77.81 kB / 0.5218 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.2987, allocations: 14.36 kB / 0.5218 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.2988, allocations: 41.23 kB / 0.5219 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2989, allocations: 49.95 kB / 0.5219 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2989, allocations: 7.25 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.299, allocations: 46.39 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.2991, allocations: 19.2 kB / 0.522 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.2991, allocations: 26.34 kB / 0.522 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2993, allocations: 104.3 kB / 0.5221 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2993, allocations: 0 / 0.5221 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2993, allocations: 0 / 0.5221 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.2993, allocations: 0 / 0.5221 GB, free: 2.016 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003804/0.2997, allocations: 409.9 kB / 0.5225 GB, free: 1.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2998, allocations: 9.625 kB / 0.5225 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.2998, allocations: 9.281 kB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2999, allocations: 194.5 kB / 0.5227 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3, allocations: 5.438 kB / 0.5227 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3, allocations: 2.469 kB / 0.5227 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3001, allocations: 64.38 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3001, allocations: 1.734 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3001, allocations: 8 kB / 0.5228 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3002, allocations: 0.9375 kB / 0.5228 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3003, allocations: 24.95 kB / 0.5228 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.3006, allocations: 290.3 kB / 0.5231 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.037e-05/0.3007, allocations: 42.45 kB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.3007, allocations: 22.69 kB / 0.5231 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3008, allocations: 1.875 kB / 0.5231 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.3008, allocations: 32.23 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3008, allocations: 0 / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007748/0.3016, allocations: 217.5 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.3016, allocations: 58.28 kB / 0.5234 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3018, allocations: 210.3 kB / 0.5236 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.3018, allocations: 25.7 kB / 0.5237 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.3018, allocations: 108.8 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.3019, allocations: 24.88 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.3019, allocations: 20.97 kB / 0.5238 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.3019, allocations: 326.3 kB / 0.5241 GB, free: 180 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.302, allocations: 29.66 kB / 0.5242 GB, free: 168 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.3021, allocations: 23.88 kB / 0.5242 GB, free: 164 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3022, allocations: 62.36 kB / 0.5242 GB, free: 136 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3022, allocations: 1.438 kB / 0.5242 GB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001791/0.3024, allocations: 101 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3024, allocations: 8.469 kB / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3025, allocations: 1.656 kB / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3025, allocations: 0 / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.3026, allocations: 20.86 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3026, allocations: 10.12 kB / 0.5244 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.3026, allocations: 3.969 kB / 0.5244 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3026, allocations: 10.38 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001025/0.3027, allocations: 123 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.3028, allocations: 9.281 kB / 0.5245 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.303, allocations: 121.6 kB / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3031, allocations: 0.8438 kB / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3031, allocations: 5.75 kB / 0.5246 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3031, allocations: 0 / 0.5246 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.3036, allocations: 408.4 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3036, allocations: 5.281 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.3037, allocations: 19.83 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3037, allocations: 1.938 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3037, allocations: 2.266 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3037, allocations: 0.5625 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3037, allocations: 1.875 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3039, allocations: 201.8 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.304, allocations: 92.81 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.304, allocations: 1.969 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.3041, allocations: 8.938 kB / 0.5253 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.3041, allocations: 5.922 kB / 0.5253 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3041, allocations: 2.969 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3042, allocations: 160.1 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3042, allocations: 0 / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3045, allocations: 20 kB / 0.5255 GB, free: 15.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009347/0.3054, allocations: 457.5 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3056, allocations: 67.7 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3057, allocations: 1.812 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.3057, allocations: 33.3 kB / 0.5261 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3061, allocations: 33.91 kB / 0.5261 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.3065, allocations: 278 kB / 0.5264 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3067, allocations: 0.7106 MB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.3068, allocations: 15.16 kB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3068, allocations: 0 / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.003465/0.3102, allocations: 1.705 MB / 0.5287 GB, free: 13.37 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches