Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 186.2 kB / 8.137 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.098/1.098, allocations: 221.4 MB / 229.9 MB, free: 3.098 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.0009119/0.0009118, allocations: 103.5 kB / 280.8 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6348/0.6348, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.771e-06, allocations: 0 / 0.5289 GB, free: 51.76 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 82.85 MB / 0.6098 GB, free: 2.836 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5645, allocations: 124.7 MB / 0.7316 GB, free: 4.723 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001474/0.5646, allocations: 65.47 kB / 0.7316 GB, free: 4.699 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01317/0.5778, allocations: 4.071 MB / 0.7356 GB, free: 1.375 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.5779, allocations: 8 kB / 0.7356 GB, free: 1.367 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001045/0.5789, allocations: 0.6386 MB / 0.7363 GB, free: 0.6992 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.579, allocations: 8.031 kB / 0.7363 GB, free: 0.6875 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.579, allocations: 31.72 kB / 0.7363 GB, free: 0.6562 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.5793, allocations: 250.7 kB / 0.7365 GB, free: 380 kB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.5793, allocations: 12.97 kB / 0.7365 GB, free: 368 kB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.5794, allocations: 46.89 kB / 0.7366 GB, free: 328 kB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000305/0.5797, allocations: 188.5 kB / 0.7368 GB, free: 184 kB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.5802, allocations: 316.5 kB / 0.7371 GB, free: 15.91 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5802, allocations: 4 kB / 0.7371 GB, free: 15.9 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.5802, allocations: 3.906 kB / 0.7371 GB, free: 15.9 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.5802, allocations: 7.984 kB / 0.7371 GB, free: 15.89 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.5822, allocations: 0.9638 MB / 0.738 GB, free: 14.97 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.5827, allocations: 419.9 kB / 0.7384 GB, free: 14.65 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.583, allocations: 178.5 kB / 0.7386 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.583, allocations: 4 kB / 0.7386 GB, free: 14.52 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.583, allocations: 36.94 kB / 0.7386 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 3.276e-06/0.583, allocations: 0 / 0.7386 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0007053/0.5838, allocations: 412.3 kB / 0.739 GB, free: 14.15 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5838, allocations: 55.41 kB / 0.7391 GB, free: 14.08 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.5839, allocations: 120.8 kB / 0.7392 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.5839, allocations: 28.39 kB / 0.7392 GB, free: 13.93 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.584, allocations: 112.4 kB / 0.7393 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.5841, allocations: 189.8 kB / 0.7395 GB, free: 13.66 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.5842, allocations: 0 / 0.7395 GB, free: 13.66 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.5843, allocations: 348.8 kB / 0.7398 GB, free: 13.32 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.5845, allocations: 211.8 kB / 0.74 GB, free: 13.17 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.5848, allocations: 216.3 kB / 0.7403 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.5852, allocations: 261 kB / 0.7405 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5852, allocations: 4 kB / 0.7405 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007464/0.5859, allocations: 0.5791 MB / 0.7411 GB, free: 12.34 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.586, allocations: 4 kB / 0.7411 GB, free: 12.34 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.586, allocations: 13.89 kB / 0.7411 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.586, allocations: 4 kB / 0.7411 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.587, allocations: 211.4 kB / 0.7413 GB, free: 12.12 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.587, allocations: 4 kB / 0.7413 GB, free: 12.11 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.5872, allocations: 43.52 kB / 0.7413 GB, free: 12.07 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.5873, allocations: 15.38 kB / 0.7414 GB, free: 12.06 MB / 0.5109 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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 9.423e-05/0.5874, allocations: 112.3 kB / 0.7415 GB, free: 11.95 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.5874, allocations: 23.72 kB / 0.7415 GB, free: 11.92 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.13e-05/0.5875, allocations: 41.56 kB / 0.7415 GB, free: 11.92 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5875, allocations: 8 kB / 0.7415 GB, free: 11.91 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5876, allocations: 4 kB / 0.7415 GB, free: 11.91 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5876, allocations: 3.984 kB / 0.7415 GB, free: 11.9 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.588, allocations: 343.1 kB / 0.7419 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.588, allocations: 0 / 0.7419 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.5894, allocations: 218.6 kB / 0.7421 GB, free: 11.36 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.5894, allocations: 0 / 0.7421 GB, free: 11.36 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.5894, allocations: 27.34 kB / 0.7421 GB, free: 11.34 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.5894, allocations: 6.438 kB / 0.7421 GB, free: 11.33 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5895, allocations: 0 / 0.7421 GB, free: 11.33 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008238/0.5903, allocations: 0.6763 MB / 0.7428 GB, free: 10.76 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.5903, allocations: 96.86 kB / 0.7429 GB, free: 10.65 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.175e-05/0.5904, allocations: 19.97 kB / 0.7429 GB, free: 10.63 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.5907, allocations: 11.98 kB / 0.7429 GB, free: 10.62 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.5908, allocations: 27.06 kB / 0.7429 GB, free: 10.59 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.5908, allocations: 11.98 kB / 0.7429 GB, free: 10.58 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.255e-05/0.5909, allocations: 90.72 kB / 0.743 GB, free: 10.5 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003255/0.5912, allocations: 99.88 kB / 0.7431 GB, free: 10.4 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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 Backend phase and start with SimCode phase: time 0.0001394/0.5913, allocations: 124 kB / 0.7432 GB, free: 10.27 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0005889/0.5919, allocations: 487.6 kB / 0.7437 GB, free: 9.906 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5919, allocations: 0 / 0.7437 GB, free: 9.906 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.5922, allocations: 219.6 kB / 0.7439 GB, free: 9.746 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.5924, allocations: 8.219 kB / 0.7439 GB, free: 9.738 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.5955, allocations: 2.833 MB / 0.7467 GB, free: 6.895 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.5959, allocations: 0.855 MB / 0.7475 GB, free: 6.027 MB / 0.5109 GB Notification: Performance of SimCode: time 4.21e-07/0.5959, allocations: 3.938 kB / 0.7475 GB, free: 6.023 MB / 0.5109 GB Notification: Performance of Templates: time 0.006972/0.6029, allocations: 4.296 MB / 0.7517 GB, free: 1.773 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches