Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.309/1.309, allocations: 221.4 MB / 235.5 MB, free: 2.941 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.0009223/0.0009224, allocations: 91.86 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9381/0.9381, allocations: 120.5 MB / 457.9 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.951e-05, allocations: 7.984 kB / 0.5367 GB, free: 11.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5725, allocations: 82.84 MB / 0.6176 GB, free: 9.277 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.7152, allocations: 125.4 MB / 0.74 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001604/0.7154, allocations: 59.97 kB / 0.7401 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.7302, allocations: 4.358 MB / 0.7444 GB, free: 7.301 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7303, allocations: 0 / 0.7444 GB, free: 7.301 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.7303, allocations: 4 kB / 0.7444 GB, free: 7.297 MB / 0.5419 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.001363/0.7317, allocations: 0.6509 MB / 0.745 GB, free: 6.598 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.7317, allocations: 12.03 kB / 0.745 GB, free: 6.586 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.7318, allocations: 27.81 kB / 0.745 GB, free: 6.559 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.7322, allocations: 250.6 kB / 0.7453 GB, free: 6.273 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.7323, allocations: 32.56 kB / 0.7453 GB, free: 6.242 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7324, allocations: 59.8 kB / 0.7454 GB, free: 6.184 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.7329, allocations: 332.7 kB / 0.7457 GB, free: 5.855 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.733, allocations: 0 / 0.7457 GB, free: 5.855 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.733, allocations: 12 kB / 0.7457 GB, free: 5.844 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.733, allocations: 7.953 kB / 0.7457 GB, free: 5.836 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.7334, allocations: 206.1 kB / 0.7459 GB, free: 5.633 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.7356, allocations: 1.026 MB / 0.7469 GB, free: 4.555 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/0.7395, allocations: 1.202 MB / 0.7481 GB, free: 3.344 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.7398, allocations: 180.8 kB / 0.7482 GB, free: 3.164 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.7399, allocations: 4 kB / 0.7482 GB, free: 3.16 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.7399, allocations: 39.25 kB / 0.7483 GB, free: 3.113 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.7399, allocations: 0 / 0.7483 GB, free: 3.113 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42): time 0.0007458/0.7407, allocations: 431.7 kB / 0.7487 GB, free: 2.688 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.7407, allocations: 55.41 kB / 0.7487 GB, free: 2.621 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7408, allocations: 125.2 kB / 0.7489 GB, free: 2.488 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.7409, allocations: 41.64 kB / 0.7489 GB, free: 2.441 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.741, allocations: 121.1 kB / 0.749 GB, free: 2.316 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.7411, allocations: 193.2 kB / 0.7492 GB, free: 2.125 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.7412, allocations: 20 kB / 0.7492 GB, free: 2.105 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7413, allocations: 338.8 kB / 0.7495 GB, free: 1.766 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.7416, allocations: 213.5 kB / 0.7497 GB, free: 1.559 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.742, allocations: 222.9 kB / 0.75 GB, free: 1.34 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.7424, allocations: 262 kB / 0.7502 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7424, allocations: 0 / 0.7502 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009029/0.7433, allocations: 0.6092 MB / 0.7508 GB, free: 480 kB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7433, allocations: 4 kB / 0.7508 GB, free: 476 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.7433, allocations: 0 / 0.7508 GB, free: 476 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7434, allocations: 8 kB / 0.7508 GB, free: 468 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.7443, allocations: 223.8 kB / 0.751 GB, free: 244 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.7443, allocations: 3.953 kB / 0.751 GB, free: 240 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.7446, allocations: 55.5 kB / 0.7511 GB, free: 184 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.7446, allocations: 20 kB / 0.7511 GB, free: 164 kB / 0.5419 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 0.0001179/0.7447, allocations: 136.9 kB / 0.7512 GB, free: 20 kB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.7448, allocations: 19.72 kB / 0.7513 GB, free: 0 / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5794/1.324, allocations: 47.95 kB / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.324, allocations: 7.422 kB / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.324, allocations: 0 / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.324, allocations: 6.703 kB / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/1.325, allocations: 381.9 kB / 0.7517 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.325, allocations: 0 / 0.7517 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.326, allocations: 224.1 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/1.326, allocations: 1.656 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/1.326, allocations: 25.38 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/1.326, allocations: 5.219 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.326, allocations: 0.5312 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.328, allocations: 0.7012 MB / 0.7526 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/1.328, allocations: 98.28 kB / 0.7527 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/1.328, allocations: 25.83 kB / 0.7527 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/1.328, allocations: 27.53 kB / 0.7528 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/1.328, allocations: 30.86 kB / 0.7528 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/1.328, allocations: 9.391 kB / 0.7528 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 4.441e-05/1.328, allocations: 101.3 kB / 0.7529 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.328, allocations: 0.8438 kB / 0.7529 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003763/1.329, allocations: 111.6 kB / 0.753 GB, free: 132.2 MB / 0.5421 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.0001539/1.329, allocations: 130.6 kB / 0.7531 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0007778/1.33, allocations: 484.9 kB / 0.7536 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.33, allocations: 0 / 0.7536 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/1.33, allocations: 223.8 kB / 0.7538 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/1.33, allocations: 18.89 kB / 0.7538 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/1.333, allocations: 2.915 MB / 0.7567 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/1.334, allocations: 0.8101 MB / 0.7575 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004352/1.334, allocations: 156.1 kB / 0.7576 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.334, allocations: 30.72 kB / 0.7576 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of SimCode: time 6.51e-07/1.334, allocations: 0 / 0.7576 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.006296/1.341, allocations: 2.882 MB / 0.7604 GB, free: 129.1 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches