Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.373/1.373, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.0009662/0.0009661, allocations: 95.67 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9603/0.9603, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.966e-05, allocations: 0 / 0.5367 GB, free: 11.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5698/0.5698, allocations: 82.84 MB / 0.6176 GB, free: 9.289 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.7116, allocations: 125.4 MB / 0.74 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000168/0.7118, allocations: 67.91 kB / 0.7401 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0082/0.7201, allocations: 2.551 MB / 0.7426 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7201, allocations: 0 / 0.7426 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.7201, allocations: 0 / 0.7426 GB, free: 9.145 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007111/0.7208, allocations: 490 kB / 0.743 GB, free: 8.621 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7209, allocations: 12.03 kB / 0.7431 GB, free: 8.609 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.7209, allocations: 15.81 kB / 0.7431 GB, free: 8.594 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.7212, allocations: 218.8 kB / 0.7433 GB, free: 8.34 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.7212, allocations: 23.92 kB / 0.7433 GB, free: 8.316 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.7213, allocations: 24 kB / 0.7433 GB, free: 8.293 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.7216, allocations: 177.5 kB / 0.7435 GB, free: 8.113 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7217, allocations: 0 / 0.7435 GB, free: 8.113 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.7217, allocations: 11.95 kB / 0.7435 GB, free: 8.102 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7217, allocations: 0 / 0.7435 GB, free: 8.102 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.7219, allocations: 108 kB / 0.7436 GB, free: 7.996 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.7232, allocations: 0.6174 MB / 0.7442 GB, free: 7.324 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.725, allocations: 0.5692 MB / 0.7448 GB, free: 6.746 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.7251, allocations: 93.2 kB / 0.7449 GB, free: 6.652 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.7252, allocations: 4.188 kB / 0.7449 GB, free: 6.648 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.7252, allocations: 38.69 kB / 0.7449 GB, free: 6.602 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.7252, allocations: 0 / 0.7449 GB, free: 6.602 MB / 0.5419 GB Notification: Performance of matching and sorting (n=22): time 0.0004379/0.7256, allocations: 228.9 kB / 0.7451 GB, free: 6.371 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.7257, allocations: 55.41 kB / 0.7452 GB, free: 6.305 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.7258, allocations: 116.9 kB / 0.7453 GB, free: 6.184 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.7258, allocations: 37.7 kB / 0.7453 GB, free: 6.141 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.7259, allocations: 108.7 kB / 0.7454 GB, free: 6.031 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.726, allocations: 98.55 kB / 0.7455 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.726, allocations: 8 kB / 0.7455 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7261, allocations: 326.8 kB / 0.7458 GB, free: 5.598 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.7263, allocations: 108 kB / 0.7459 GB, free: 5.492 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.7265, allocations: 111.9 kB / 0.746 GB, free: 5.383 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.7267, allocations: 132.2 kB / 0.7462 GB, free: 5.254 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7267, allocations: 3.938 kB / 0.7462 GB, free: 5.25 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004594/0.7272, allocations: 329.1 kB / 0.7465 GB, free: 4.922 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7272, allocations: 4 kB / 0.7465 GB, free: 4.918 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.7272, allocations: 0 / 0.7465 GB, free: 4.918 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7272, allocations: 0 / 0.7465 GB, free: 4.918 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.7277, allocations: 111.9 kB / 0.7466 GB, free: 4.809 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7277, allocations: 0 / 0.7466 GB, free: 4.809 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.7278, allocations: 31.73 kB / 0.7466 GB, free: 4.777 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.7279, allocations: 8 kB / 0.7466 GB, free: 4.77 MB / 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 (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 prepare postOptimizeDAE: time 8.01e-05/0.728, allocations: 121.2 kB / 0.7467 GB, free: 4.645 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.728, allocations: 11.91 kB / 0.7468 GB, free: 4.633 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.7281, allocations: 32.73 kB / 0.7468 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.7281, allocations: 4 kB / 0.7468 GB, free: 4.594 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7281, allocations: 4 kB / 0.7468 GB, free: 4.59 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7281, allocations: 0 / 0.7468 GB, free: 4.59 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.7284, allocations: 273.3 kB / 0.7471 GB, free: 4.273 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7285, allocations: 4 kB / 0.7471 GB, free: 4.27 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/0.7291, allocations: 115.9 kB / 0.7472 GB, free: 4.156 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7291, allocations: 0 / 0.7472 GB, free: 4.156 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.7292, allocations: 15.98 kB / 0.7472 GB, free: 4.141 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7292, allocations: 0 / 0.7472 GB, free: 4.141 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7292, allocations: 0 / 0.7472 GB, free: 4.141 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.7298, allocations: 429.8 kB / 0.7476 GB, free: 3.711 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.7299, allocations: 88.95 kB / 0.7477 GB, free: 3.605 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.73, allocations: 19.92 kB / 0.7477 GB, free: 3.586 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.7301, allocations: 15.98 kB / 0.7477 GB, free: 3.57 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.7302, allocations: 11.98 kB / 0.7477 GB, free: 3.559 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.7302, allocations: 7.984 kB / 0.7477 GB, free: 3.551 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.7303, allocations: 95.59 kB / 0.7478 GB, free: 3.457 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7303, allocations: 3.938 kB / 0.7478 GB, free: 3.453 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002907/0.7306, allocations: 56 kB / 0.7479 GB, free: 3.398 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001747/0.7308, allocations: 111.2 kB / 0.748 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.7313, allocations: 247.7 kB / 0.7482 GB, free: 3.039 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.7313, allocations: 0 / 0.7482 GB, free: 3.039 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.7314, allocations: 107.9 kB / 0.7483 GB, free: 2.934 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.7317, allocations: 12.94 kB / 0.7483 GB, free: 2.922 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.7336, allocations: 1.471 MB / 0.7498 GB, free: 1.414 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.734, allocations: 0.7441 MB / 0.7505 GB, free: 0.6445 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.7342, allocations: 73.47 kB / 0.7506 GB, free: 0.5742 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.448e-05/0.7343, allocations: 19.44 kB / 0.7506 GB, free: 0.5547 MB / 0.5419 GB Notification: Performance of SimCode: time 3.11e-07/0.7343, allocations: 0 / 0.7506 GB, free: 0.5547 MB / 0.5419 GB Notification: Performance of Templates: time 0.5527/1.287, allocations: 1.606 MB / 0.7522 GB, free: 132.4 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches