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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001308/0.001308, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.324/1.324, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.118/1.118, allocations: 119.3 MB / 411.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.14 kB / 0.4922 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5952/0.5964, allocations: 80.69 MB / 0.571 GB, free: 43.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002227/0.5987, allocations: 1.408 MB / 0.5724 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002095/0.5989, allocations: 54.11 kB / 0.5724 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.599, allocations: 0 / 0.5724 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.5991, allocations: 9.266 kB / 0.5724 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.5992, allocations: 22.81 kB / 0.5725 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.5993, allocations: 13.48 kB / 0.5725 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.5997, allocations: 373.3 kB / 0.5728 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.5997, allocations: 4.344 kB / 0.5728 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.5999, allocations: 132.5 kB / 0.573 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.6001, allocations: 177.7 kB / 0.5731 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.6002, allocations: 18.38 kB / 0.5732 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.6002, allocations: 18.75 kB / 0.5732 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.6004, allocations: 137.6 kB / 0.5733 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.6006, allocations: 149.7 kB / 0.5734 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.6007, allocations: 164.8 kB / 0.5736 GB, free: 42.13 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6007, allocations: 0 / 0.5736 GB, free: 42.13 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.21e-07/0.6007, allocations: 1.281 kB / 0.5736 GB, free: 42.13 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.6008, allocations: 4 kB / 0.5736 GB, free: 42.13 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001568/0.6023, allocations: 0.7305 MB / 0.5743 GB, free: 41.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6024, allocations: 10.22 kB / 0.5743 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/0.6025, allocations: 30.19 kB / 0.5744 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.6027, allocations: 258.9 kB / 0.5746 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.6028, allocations: 28.28 kB / 0.5746 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/0.6029, allocations: 56.12 kB / 0.5747 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/0.6034, allocations: 352.4 kB / 0.575 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6034, allocations: 192 / 0.575 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.6035, allocations: 13.97 kB / 0.575 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.6035, allocations: 6.844 kB / 0.575 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.6039, allocations: 208.3 kB / 0.5752 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.6059, allocations: 0.9968 MB / 0.5762 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.6098, allocations: 1.221 MB / 0.5774 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.6102, allocations: 186.5 kB / 0.5776 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.6102, allocations: 8.625 kB / 0.5776 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.6102, allocations: 41.03 kB / 0.5776 GB, free: 39.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.873e-06/0.6103, allocations: 0 / 0.5776 GB, free: 39.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001098/0.6114, allocations: 0.5675 MB / 0.5782 GB, free: 39.4 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.6114, allocations: 59.09 kB / 0.5782 GB, free: 39.33 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.6115, allocations: 132.2 kB / 0.5784 GB, free: 39.21 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.6115, allocations: 36.45 kB / 0.5784 GB, free: 39.17 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.6116, allocations: 121.4 kB / 0.5785 GB, free: 39.05 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.6117, allocations: 191.3 kB / 0.5787 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.6119, allocations: 131.4 kB / 0.5788 GB, free: 38.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.612, allocations: 339.7 kB / 0.5792 GB, free: 38.47 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.6123, allocations: 222.1 kB / 0.5794 GB, free: 38.38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.6127, allocations: 232.6 kB / 0.5796 GB, free: 38.28 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/0.6134, allocations: 0.4901 MB / 0.5801 GB, free: 38.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6134, allocations: 0 / 0.5801 GB, free: 38.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009245/0.6143, allocations: 0.6253 MB / 0.5807 GB, free: 37.76 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6144, allocations: 5.188 kB / 0.5807 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6144, allocations: 0 / 0.5807 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6144, allocations: 7.469 kB / 0.5807 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/0.6153, allocations: 228.5 kB / 0.5809 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.6153, allocations: 7.719 kB / 0.5809 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.6155, allocations: 58.56 kB / 0.581 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.6156, allocations: 21.72 kB / 0.581 GB, free: 37.65 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 (82): * Single equations (assignments): 82 * 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 0.0001443/0.6157, allocations: 157.1 kB / 0.5811 GB, free: 37.5 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.6158, allocations: 22.81 kB / 0.5812 GB, free: 37.49 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.6159, allocations: 51.84 kB / 0.5812 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6159, allocations: 3.688 kB / 0.5812 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.616, allocations: 0.9062 kB / 0.5812 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.616, allocations: 3.984 kB / 0.5812 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.6165, allocations: 392.2 kB / 0.5816 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6165, allocations: 3.938 kB / 0.5816 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.6177, allocations: 223.2 kB / 0.5818 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6178, allocations: 5 kB / 0.5818 GB, free: 37.06 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.666e-05/0.6178, allocations: 24.56 kB / 0.5818 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6178, allocations: 10.23 kB / 0.5819 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6178, allocations: 0 / 0.5819 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.6189, allocations: 0.6949 MB / 0.5825 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.619, allocations: 99.2 kB / 0.5826 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.619, allocations: 28.09 kB / 0.5827 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.6193, allocations: 25.06 kB / 0.5827 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.6194, allocations: 24.72 kB / 0.5827 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.6194, allocations: 16.17 kB / 0.5827 GB, free: 36.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.735e-05/0.6195, allocations: 101 kB / 0.5828 GB, free: 36.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6195, allocations: 4 kB / 0.5828 GB, free: 36.42 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003998/0.6199, allocations: 115.4 kB / 0.5829 GB, free: 36.4 MB / 462.3 MB 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 () * Number of clocked 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 (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.000144/0.62, allocations: 126.6 kB / 0.583 GB, free: 36.3 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.6208, allocations: 0.489 MB / 0.5835 GB, free: 36.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6209, allocations: 0 / 0.5835 GB, free: 36.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.6212, allocations: 220.3 kB / 0.5837 GB, free: 36 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.6215, allocations: 25.05 kB / 0.5838 GB, free: 35.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.6246, allocations: 2.843 MB / 0.5865 GB, free: 33.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.6249, allocations: 0.8008 MB / 0.5873 GB, free: 32.66 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.625, allocations: 31.44 kB / 0.5873 GB, free: 32.63 MB / 462.3 MB Notification: Performance of SimCode: time 5.61e-07/0.625, allocations: 0 / 0.5873 GB, free: 32.63 MB / 462.3 MB Notification: Performance of Templates: time 0.005109/0.6301, allocations: 4.471 MB / 0.5917 GB, free: 28.18 MB / 462.3 MB 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/jenkins1/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