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.00157/0.00157, allocations: 112.5 kB / 16.51 MB, free: 6.715 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.001894/0.001894, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.998/0.998, allocations: 119.3 MB / 410.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 59.91 kB / 0.4916 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5526/0.5547, allocations: 80.68 MB / 0.5704 GB, free: 43.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.00226/0.557, allocations: 1.411 MB / 0.5717 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002009/0.5572, allocations: 57.58 kB / 0.5718 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.5573, allocations: 1.344 kB / 0.5718 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.5574, allocations: 0 / 0.5718 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.5575, allocations: 23.89 kB / 0.5718 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.5577, allocations: 17.08 kB / 0.5718 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.558, allocations: 369.5 kB / 0.5722 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.558, allocations: 10.14 kB / 0.5722 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.5582, allocations: 120.2 kB / 0.5723 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.5584, allocations: 186.9 kB / 0.5725 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.5585, allocations: 17.03 kB / 0.5725 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.508e-05/0.5585, allocations: 19.31 kB / 0.5725 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.5587, allocations: 145.5 kB / 0.5727 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.5588, allocations: 148.6 kB / 0.5728 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.559, allocations: 242.6 kB / 0.573 GB, free: 42.06 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.559, allocations: 3.938 kB / 0.573 GB, free: 42.06 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.293e-06/0.559, allocations: 0 / 0.573 GB, free: 42.06 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.559, allocations: 0 / 0.573 GB, free: 42.06 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.00146/0.5605, allocations: 0.7321 MB / 0.5738 GB, free: 41.49 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5606, allocations: 12.62 kB / 0.5738 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.5607, allocations: 31.66 kB / 0.5738 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.5609, allocations: 241.6 kB / 0.574 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.561, allocations: 28.16 kB / 0.5741 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.5611, allocations: 56.25 kB / 0.5741 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.5616, allocations: 352.9 kB / 0.5745 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5616, allocations: 192 / 0.5745 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.5617, allocations: 13.97 kB / 0.5745 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.5617, allocations: 6.656 kB / 0.5745 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.562, allocations: 200.5 kB / 0.5747 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.564, allocations: 1.009 MB / 0.5756 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/0.5678, allocations: 1.212 MB / 0.5768 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.5682, allocations: 190.5 kB / 0.577 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.5682, allocations: 4.625 kB / 0.577 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.5682, allocations: 37.03 kB / 0.5771 GB, free: 39.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.5682, allocations: 0 / 0.5771 GB, free: 39.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001037/0.5693, allocations: 0.5746 MB / 0.5776 GB, free: 39.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.5693, allocations: 56 kB / 0.5777 GB, free: 39.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.5694, allocations: 132.2 kB / 0.5778 GB, free: 39.15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.5695, allocations: 40.45 kB / 0.5778 GB, free: 39.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.5695, allocations: 121.5 kB / 0.5779 GB, free: 38.99 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.5696, allocations: 191.3 kB / 0.5781 GB, free: 38.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.5698, allocations: 126.6 kB / 0.5783 GB, free: 38.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.5698, allocations: 343.6 kB / 0.5786 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.5702, allocations: 219.2 kB / 0.5788 GB, free: 38.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.5705, allocations: 232.6 kB / 0.579 GB, free: 38.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/0.5712, allocations: 0.494 MB / 0.5795 GB, free: 37.99 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5712, allocations: 7.938 kB / 0.5795 GB, free: 37.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009429/0.5722, allocations: 0.6292 MB / 0.5801 GB, free: 37.69 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5722, allocations: 4.375 kB / 0.5801 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5722, allocations: 1.312 kB / 0.5801 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.5722, allocations: 2.719 kB / 0.5801 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/0.5731, allocations: 224.5 kB / 0.5803 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5732, allocations: 3.781 kB / 0.5803 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.5734, allocations: 58.72 kB / 0.5804 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.5735, allocations: 20.91 kB / 0.5804 GB, free: 37.59 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.0001462/0.5736, allocations: 158 kB / 0.5806 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.5737, allocations: 26.8 kB / 0.5806 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.5738, allocations: 50.89 kB / 0.5806 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.5738, allocations: 4.625 kB / 0.5806 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5738, allocations: 4 kB / 0.5806 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5738, allocations: 0.9062 kB / 0.5807 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.5743, allocations: 391.3 kB / 0.581 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5743, allocations: 5.031 kB / 0.581 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.5755, allocations: 223 kB / 0.5812 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5755, allocations: 1.312 kB / 0.5812 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.5756, allocations: 32.28 kB / 0.5813 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.5756, allocations: 2.312 kB / 0.5813 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5756, allocations: 0 / 0.5813 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009532/0.5766, allocations: 0.7025 MB / 0.582 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.5766, allocations: 99.73 kB / 0.5821 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.5767, allocations: 24.36 kB / 0.5821 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.577, allocations: 24.69 kB / 0.5821 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.5771, allocations: 27.8 kB / 0.5821 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.5771, allocations: 12.84 kB / 0.5821 GB, free: 36.45 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.5772, allocations: 96.27 kB / 0.5822 GB, free: 36.36 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5772, allocations: 1.188 kB / 0.5822 GB, free: 36.36 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003768/0.5776, allocations: 118.7 kB / 0.5823 GB, free: 36.34 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.0001363/0.5777, allocations: 125.9 kB / 0.5825 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.5784, allocations: 497.3 kB / 0.5829 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5784, allocations: 0 / 0.5829 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.5787, allocations: 224.5 kB / 0.5832 GB, free: 35.94 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.5791, allocations: 32.53 kB / 0.5832 GB, free: 35.92 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.582, allocations: 2.802 MB / 0.5859 GB, free: 33.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.5822, allocations: 0.8087 MB / 0.5867 GB, free: 32.62 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003386/0.5826, allocations: 154.8 kB / 0.5869 GB, free: 32.46 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.5827, allocations: 27.44 kB / 0.5869 GB, free: 32.44 MB / 462.3 MB Notification: Performance of SimCode: time 5.01e-07/0.5827, allocations: 0 / 0.5869 GB, free: 32.44 MB / 462.3 MB Notification: Performance of Templates: time 0.005323/0.588, allocations: 3.011 MB / 0.5898 GB, free: 29.46 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/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