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/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/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001237, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001344/0.001344, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.276/1.276, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9223/0.9223, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.89 kB / 0.4923 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.579, allocations: 80.68 MB / 0.5711 GB, free: 43.8 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002139/0.5811, allocations: 1.336 MB / 0.5724 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002211/0.5814, allocations: 55.25 kB / 0.5725 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.5814, allocations: 1.125 kB / 0.5725 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.5815, allocations: 11.88 kB / 0.5725 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.5816, allocations: 19.44 kB / 0.5725 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.5818, allocations: 20.48 kB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.582, allocations: 192.3 kB / 0.5727 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.582, allocations: 6.25 kB / 0.5727 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.5821, allocations: 73.12 kB / 0.5728 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.5823, allocations: 96.08 kB / 0.5729 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.5823, allocations: 10.38 kB / 0.5729 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.485e-05/0.5824, allocations: 16.28 kB / 0.5729 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/0.5825, allocations: 78.17 kB / 0.573 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.5826, allocations: 74.52 kB / 0.573 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.5827, allocations: 134.6 kB / 0.5732 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5827, allocations: 4 kB / 0.5732 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5828, allocations: 0 / 0.5732 GB, free: 42.29 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.5828, allocations: 0 / 0.5732 GB, free: 42.29 MB / 462.3 MB 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.0009192/0.5837, allocations: 0.5172 MB / 0.5737 GB, free: 41.83 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5837, allocations: 12.3 kB / 0.5737 GB, free: 41.83 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.5838, allocations: 18.84 kB / 0.5737 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.584, allocations: 218.5 kB / 0.5739 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.584, allocations: 15.12 kB / 0.5739 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.5841, allocations: 29.41 kB / 0.5739 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.5844, allocations: 187.2 kB / 0.5741 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5844, allocations: 5.375 kB / 0.5741 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.5844, allocations: 5.188 kB / 0.5741 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.5845, allocations: 3.656 kB / 0.5741 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.5847, allocations: 116.6 kB / 0.5742 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.5857, allocations: 0.5943 MB / 0.5748 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.5874, allocations: 0.5776 MB / 0.5754 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5876, allocations: 104.6 kB / 0.5755 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.5876, allocations: 6.109 kB / 0.5755 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.5876, allocations: 33.31 kB / 0.5755 GB, free: 40.61 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.5876, allocations: 0 / 0.5755 GB, free: 40.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0005519/0.5882, allocations: 310.8 kB / 0.5758 GB, free: 40.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.5882, allocations: 57.59 kB / 0.5759 GB, free: 40.39 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.5883, allocations: 126.9 kB / 0.576 GB, free: 40.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.5883, allocations: 35.2 kB / 0.576 GB, free: 40.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.5884, allocations: 107.8 kB / 0.5761 GB, free: 40.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.5884, allocations: 98.42 kB / 0.5762 GB, free: 40.04 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.785e-05/0.5885, allocations: 70.53 kB / 0.5763 GB, free: 39.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.5886, allocations: 332.6 kB / 0.5766 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.5888, allocations: 109.8 kB / 0.5767 GB, free: 39.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.5889, allocations: 117.9 kB / 0.5768 GB, free: 39.56 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.5892, allocations: 252.1 kB / 0.5771 GB, free: 39.44 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5893, allocations: 7.938 kB / 0.5771 GB, free: 39.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000412/0.5897, allocations: 340 kB / 0.5774 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5897, allocations: 8.156 kB / 0.5774 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5897, allocations: 0 / 0.5774 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5897, allocations: 1.344 kB / 0.5774 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.5902, allocations: 117.8 kB / 0.5775 GB, free: 39.24 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.5902, allocations: 1.625 kB / 0.5775 GB, free: 39.24 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.5903, allocations: 31.05 kB / 0.5776 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5904, allocations: 11.53 kB / 0.5776 GB, free: 39.21 MB / 462.3 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 (42): * Single equations (assignments): 42 * 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 9.358e-05/0.5905, allocations: 140.1 kB / 0.5777 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.5905, allocations: 14.28 kB / 0.5777 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.097e-05/0.5906, allocations: 34.62 kB / 0.5777 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5906, allocations: 1.844 kB / 0.5778 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5906, allocations: 0.9375 kB / 0.5778 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5906, allocations: 0 / 0.5778 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.5909, allocations: 266.7 kB / 0.578 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5909, allocations: 0 / 0.578 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.5915, allocations: 113.3 kB / 0.5781 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5915, allocations: 4.938 kB / 0.5781 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.5916, allocations: 14.42 kB / 0.5781 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5916, allocations: 0.9375 kB / 0.5781 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5916, allocations: 0.9062 kB / 0.5781 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.5921, allocations: 426.1 kB / 0.5785 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.5922, allocations: 96.53 kB / 0.5786 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.5922, allocations: 10.47 kB / 0.5786 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5924, allocations: 8.609 kB / 0.5787 GB, free: 38.37 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.5924, allocations: 23.34 kB / 0.5787 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.5925, allocations: 4.594 kB / 0.5787 GB, free: 38.36 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.5925, allocations: 96.52 kB / 0.5788 GB, free: 38.27 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5925, allocations: 3.938 kB / 0.5788 GB, free: 38.27 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003016/0.5928, allocations: 57.47 kB / 0.5788 GB, free: 38.26 MB / 462.3 MB 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 () * Number of clocked 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 (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.0001068/0.5929, allocations: 113.7 kB / 0.5789 GB, free: 38.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.5934, allocations: 298.7 kB / 0.5792 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5934, allocations: 0 / 0.5792 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.5936, allocations: 114 kB / 0.5793 GB, free: 38 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.5939, allocations: 15.56 kB / 0.5793 GB, free: 37.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.5955, allocations: 1.416 MB / 0.5807 GB, free: 36.84 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.5957, allocations: 0.7361 MB / 0.5814 GB, free: 36.11 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.5959, allocations: 77.23 kB / 0.5815 GB, free: 36.08 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.596, allocations: 17.53 kB / 0.5815 GB, free: 36.07 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.596, allocations: 0 / 0.5815 GB, free: 36.07 MB / 462.3 MB Notification: Performance of Templates: time 0.004607/0.6006, allocations: 1.729 MB / 0.5832 GB, free: 35.25 MB / 462.3 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches