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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009397/0.0009397, allocations: 178.6 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.208/1.208, allocations: 221.4 MB / 235.5 MB, free: 2.93 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.0009073/0.0009073, allocations: 92.05 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8187/0.8187, allocations: 120.4 MB / 457.8 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.403e-05, allocations: 4 kB / 0.5367 GB, free: 11.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4677, allocations: 82.82 MB / 0.6176 GB, free: 9.277 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.5946, allocations: 125.4 MB / 0.74 GB, free: 11.74 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001498/0.5948, allocations: 71.84 kB / 0.7401 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.6084, allocations: 4.35 MB / 0.7444 GB, free: 7.301 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6084, allocations: 0 / 0.7444 GB, free: 7.301 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.6084, 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.001115/0.6095, allocations: 0.6548 MB / 0.745 GB, free: 6.594 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6096, allocations: 12.03 kB / 0.745 GB, free: 6.582 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.6096, allocations: 23.81 kB / 0.745 GB, free: 6.559 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.61, allocations: 254.6 kB / 0.7453 GB, free: 6.27 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.61, allocations: 28.56 kB / 0.7453 GB, free: 6.242 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.6101, allocations: 59.8 kB / 0.7454 GB, free: 6.184 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.6106, allocations: 336.7 kB / 0.7457 GB, free: 5.852 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6106, allocations: 0 / 0.7457 GB, free: 5.852 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.6106, allocations: 16 kB / 0.7457 GB, free: 5.836 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.6107, allocations: 11.94 kB / 0.7457 GB, free: 5.824 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.611, allocations: 198.2 kB / 0.7459 GB, free: 5.629 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.6129, allocations: 1.018 MB / 0.7469 GB, free: 4.559 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.6164, allocations: 1.202 MB / 0.7481 GB, free: 3.348 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.6166, allocations: 180.8 kB / 0.7482 GB, free: 3.168 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.6167, allocations: 4 kB / 0.7482 GB, free: 3.164 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.6167, allocations: 43.19 kB / 0.7483 GB, free: 3.113 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=42): time 1.353e-06/0.6167, allocations: 0 / 0.7483 GB, free: 3.113 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42): time 0.0006625/0.6174, allocations: 427.7 kB / 0.7487 GB, free: 2.691 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.6174, allocations: 59.41 kB / 0.7487 GB, free: 2.621 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.6175, allocations: 117.2 kB / 0.7489 GB, free: 2.496 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.6175, allocations: 41.7 kB / 0.7489 GB, free: 2.449 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.6176, allocations: 129.4 kB / 0.749 GB, free: 2.316 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.6177, allocations: 193.2 kB / 0.7492 GB, free: 2.125 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.6178, allocations: 12 kB / 0.7492 GB, free: 2.113 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.6179, allocations: 338.8 kB / 0.7495 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.6182, allocations: 221.4 kB / 0.7497 GB, free: 1.559 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.6185, allocations: 222.9 kB / 0.75 GB, free: 1.34 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.6188, allocations: 261.9 kB / 0.7502 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6189, allocations: 0 / 0.7502 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008168/0.6197, allocations: 0.6053 MB / 0.7508 GB, free: 484 kB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6197, allocations: 12 kB / 0.7508 GB, free: 472 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6197, allocations: 0 / 0.7508 GB, free: 472 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6197, allocations: 0 / 0.7508 GB, free: 472 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.6206, allocations: 223.8 kB / 0.751 GB, free: 248 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6206, allocations: 7.953 kB / 0.751 GB, free: 240 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.6208, allocations: 59.5 kB / 0.7511 GB, free: 180 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.6209, allocations: 24 kB / 0.7511 GB, free: 156 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.0001006/0.621, allocations: 128.9 kB / 0.7512 GB, free: 20 kB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5246/1.146, allocations: 22.8 kB / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/1.146, allocations: 48.19 kB / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.146, allocations: 3.766 kB / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.146, allocations: 0.625 kB / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.146, allocations: 6.078 kB / 0.7513 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/1.146, allocations: 388.4 kB / 0.7517 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.146, allocations: 0 / 0.7517 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.148, allocations: 227 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.148, allocations: 1.656 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/1.148, allocations: 25.31 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.148, allocations: 1.719 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.148, allocations: 1.438 kB / 0.7519 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.149, allocations: 0.6926 MB / 0.7526 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/1.149, allocations: 103.7 kB / 0.7527 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/1.149, allocations: 20.95 kB / 0.7527 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/1.149, allocations: 27.3 kB / 0.7528 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/1.149, allocations: 29.88 kB / 0.7528 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/1.149, allocations: 10.38 kB / 0.7528 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.997e-05/1.149, allocations: 97.05 kB / 0.7529 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.149, allocations: 2.828 kB / 0.7529 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003503/1.15, allocations: 118.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.0001456/1.15, allocations: 128.6 kB / 0.7531 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.000754/1.151, allocations: 485.3 kB / 0.7536 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.151, allocations: 0 / 0.7536 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/1.151, allocations: 221.4 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.0001767/1.151, allocations: 19.97 kB / 0.7538 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/1.154, allocations: 2.92 MB / 0.7567 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/1.154, allocations: 0.8081 MB / 0.7575 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0003807/1.155, allocations: 159.2 kB / 0.7576 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.155, allocations: 28.41 kB / 0.7576 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of SimCode: time 2.41e-07/1.155, allocations: 0 / 0.7576 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.005767/1.161, allocations: 2.888 MB / 0.7605 GB, free: 129.1 MB / 0.5421 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/jenkins/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