Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.00125/0.00125, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.246/1.246, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.1841/0.1841, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2932, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003336/0.2966, allocations: 1.617 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006144/0.2972, allocations: 419.5 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.2973, allocations: 1.094 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.2975, allocations: 85.52 kB / 0.521 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.2977, allocations: 78.73 kB / 0.5211 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.298, allocations: 88.42 kB / 0.5212 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.2982, allocations: 94.73 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.2983, allocations: 21.62 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.261e-05/0.2983, allocations: 40.19 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.2984, allocations: 57.69 kB / 0.5214 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2985, allocations: 8.141 kB / 0.5214 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.2986, allocations: 45.73 kB / 0.5214 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.2986, allocations: 25.03 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.2987, allocations: 37.36 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2989, allocations: 122.4 kB / 0.5216 GB, free: 1.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2989, allocations: 0 / 0.5216 GB, free: 1.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2989, allocations: 1.062 kB / 0.5216 GB, free: 1.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.2989, allocations: 3.938 kB / 0.5216 GB, free: 1.949 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003973/0.2993, allocations: 432 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2993, allocations: 8.469 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.2994, allocations: 15.78 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2995, allocations: 213.3 kB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2995, allocations: 6.438 kB / 0.5222 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.2996, allocations: 8.938 kB / 0.5222 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.2997, allocations: 70.38 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2997, allocations: 4.594 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2998, allocations: 1.344 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2998, allocations: 5.219 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.2999, allocations: 40.42 kB / 0.5224 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.3002, allocations: 334.4 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3004, allocations: 59.28 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.3004, allocations: 22.75 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3005, allocations: 5.828 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.3005, allocations: 32.23 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3005, allocations: 1.125 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009247/0.3014, allocations: 315.2 kB / 0.5231 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.3014, allocations: 53.59 kB / 0.5231 GB, free: 0.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3016, allocations: 228.5 kB / 0.5234 GB, free: 500 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3017, allocations: 26.92 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.3017, allocations: 114.6 kB / 0.5235 GB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3018, allocations: 39.61 kB / 0.5235 GB, free: 328 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.3018, allocations: 38 kB / 0.5236 GB, free: 296 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.3019, allocations: 331.9 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.269e-05/0.302, allocations: 32.86 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.3021, allocations: 38.19 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3022, allocations: 86.91 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3023, allocations: 0 / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002366/0.3025, allocations: 142.1 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3025, allocations: 8.719 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3025, allocations: 1.594 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3025, allocations: 4.547 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3027, allocations: 25.06 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3027, allocations: 4 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.3027, allocations: 7.203 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3027, allocations: 8.812 kB / 0.5242 GB, free: 15.82 MB / 398.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 (13): * Single equations (assignments): 13 * 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 8.504e-05/0.3028, allocations: 132.2 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3029, allocations: 18.25 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.3032, allocations: 154.8 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3032, allocations: 6.859 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3032, allocations: 0 / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3032, allocations: 0.75 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.3038, allocations: 485.7 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3039, allocations: 4.031 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.304, allocations: 24.59 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.304, allocations: 1.969 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.304, allocations: 2.781 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.304, allocations: 0.6562 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.304, allocations: 5.469 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3043, allocations: 251.8 kB / 0.5253 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.3043, allocations: 89.78 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3044, allocations: 14.62 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.3044, allocations: 4.359 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3045, allocations: 12.09 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3045, allocations: 4.156 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3046, allocations: 172 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3046, allocations: 0 / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3049, allocations: 28.2 kB / 0.5256 GB, free: 14.8 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 (13): * Single equations (assignments): 13 * 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.0009795/0.3059, allocations: 445.2 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.3062, allocations: 105.4 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3062, allocations: 1.219 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3063, allocations: 50.52 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3066, allocations: 26.8 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.3071, allocations: 300.6 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3074, allocations: 0.7211 MB / 0.5272 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.3075, allocations: 18.92 kB / 0.5272 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.3075, allocations: 16.81 kB / 0.5272 GB, free: 13.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3075, allocations: 0 / 0.5272 GB, free: 13.62 MB / 398.1 MB Notification: Performance of Templates: time 0.004117/0.3117, allocations: 1.544 MB / 0.5287 GB, free: 13.06 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches