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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008115/0.0008116, allocations: 90.25 kB / 16.65 MB, free: 6.535 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.0008529/0.0008529, allocations: 178.1 kB / 17.56 MB, free: 6.18 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.158/1.158, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7885/0.7885, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 11.94 kB / 0.4962 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.456, allocations: 82.83 MB / 0.5771 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001036/0.457, allocations: 1.067 MB / 0.5782 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001728/0.4572, allocations: 63.12 kB / 0.5782 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.4573, allocations: 1.375 kB / 0.5782 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.007e-05/0.4574, allocations: 0 / 0.5782 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.4574, allocations: 23.97 kB / 0.5782 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.4576, allocations: 16.09 kB / 0.5783 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.4578, allocations: 366.1 kB / 0.5786 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.4579, allocations: 4.125 kB / 0.5786 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.458, allocations: 132.6 kB / 0.5787 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.4582, allocations: 188.9 kB / 0.5789 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.4583, allocations: 18.91 kB / 0.5789 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.4583, allocations: 17.53 kB / 0.579 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.4584, allocations: 139.6 kB / 0.5791 GB, free: 41 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.4586, allocations: 169.5 kB / 0.5793 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.4588, allocations: 241.4 kB / 0.5795 GB, free: 40.75 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4588, allocations: 0.9375 kB / 0.5795 GB, free: 40.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4588, allocations: 7.875 kB / 0.5795 GB, free: 40.74 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.4588, allocations: 0 / 0.5795 GB, free: 40.74 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.001261/0.4601, allocations: 0.6859 MB / 0.5802 GB, free: 40.2 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4601, allocations: 13.22 kB / 0.5802 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.4602, allocations: 31.19 kB / 0.5802 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.4604, allocations: 250 kB / 0.5804 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.4605, allocations: 28.62 kB / 0.5805 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/0.4605, allocations: 55.5 kB / 0.5805 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.461, allocations: 348.6 kB / 0.5809 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.461, allocations: 5.094 kB / 0.5809 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.4611, allocations: 13.78 kB / 0.5809 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4611, allocations: 6.469 kB / 0.5809 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.4614, allocations: 205 kB / 0.5811 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.4631, allocations: 1.028 MB / 0.5821 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.4665, allocations: 1.213 MB / 0.5833 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.4667, allocations: 190 kB / 0.5834 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.4668, allocations: 4.469 kB / 0.5834 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.4668, allocations: 41.16 kB / 0.5835 GB, free: 38.31 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.4668, allocations: 5 kB / 0.5835 GB, free: 38.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.0008619/0.4677, allocations: 0.57 MB / 0.584 GB, free: 38.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.4677, allocations: 56.31 kB / 0.5841 GB, free: 37.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.4678, allocations: 127.9 kB / 0.5842 GB, free: 37.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.4678, allocations: 36.67 kB / 0.5843 GB, free: 37.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.4679, allocations: 117.4 kB / 0.5844 GB, free: 37.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.468, allocations: 195.4 kB / 0.5846 GB, free: 37.54 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.468, allocations: 74.48 kB / 0.5846 GB, free: 37.48 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.4681, allocations: 343.6 kB / 0.585 GB, free: 37.15 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.4684, allocations: 227.5 kB / 0.5852 GB, free: 37.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.4687, allocations: 232.8 kB / 0.5854 GB, free: 36.95 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.4693, allocations: 0.4939 MB / 0.5859 GB, free: 36.72 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4693, allocations: 0 / 0.5859 GB, free: 36.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007123/0.47, allocations: 0.6272 MB / 0.5865 GB, free: 36.29 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.47, allocations: 10.44 kB / 0.5865 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.47, allocations: 0 / 0.5865 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4701, allocations: 4 kB / 0.5865 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.4708, allocations: 227.7 kB / 0.5867 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.4708, allocations: 4 kB / 0.5867 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.471, allocations: 63.41 kB / 0.5868 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4711, allocations: 16 kB / 0.5868 GB, free: 35.97 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.0001072/0.4712, allocations: 161.7 kB / 0.587 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.4712, allocations: 23.75 kB / 0.587 GB, free: 35.78 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.4714, allocations: 49.97 kB / 0.587 GB, free: 35.73 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4714, allocations: 4 kB / 0.587 GB, free: 35.72 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4714, allocations: 0 / 0.587 GB, free: 35.72 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4714, allocations: 7.984 kB / 0.587 GB, free: 35.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.4717, allocations: 385.2 kB / 0.5874 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4717, allocations: 7.922 kB / 0.5874 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.4728, allocations: 223.8 kB / 0.5876 GB, free: 35.06 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4728, allocations: 4 kB / 0.5876 GB, free: 35.06 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.4728, allocations: 31.91 kB / 0.5877 GB, free: 35.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4728, allocations: 0 / 0.5877 GB, free: 35.03 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4728, allocations: 0 / 0.5877 GB, free: 35.03 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.4735, allocations: 0.6986 MB / 0.5883 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.4736, allocations: 100.8 kB / 0.5884 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.4736, allocations: 27.97 kB / 0.5885 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.4739, allocations: 23.97 kB / 0.5885 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.4739, allocations: 23.97 kB / 0.5885 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.474, allocations: 11.98 kB / 0.5885 GB, free: 34.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.963e-05/0.474, allocations: 99.27 kB / 0.5886 GB, free: 34.02 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.474, allocations: 0 / 0.5886 GB, free: 34.02 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002954/0.4743, allocations: 115.8 kB / 0.5887 GB, free: 33.91 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.0001004/0.4744, allocations: 123.2 kB / 0.5888 GB, free: 33.78 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005325/0.475, allocations: 0.4994 MB / 0.5893 GB, free: 33.28 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.475, allocations: 0 / 0.5893 GB, free: 33.28 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.4752, allocations: 219.8 kB / 0.5895 GB, free: 33.06 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.4755, allocations: 25.02 kB / 0.5896 GB, free: 33.04 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.478, allocations: 3.348 MB / 0.5928 GB, free: 29.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.4782, allocations: 0.8031 MB / 0.5936 GB, free: 28.82 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.4785, allocations: 158.8 kB / 0.5938 GB, free: 28.66 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.4786, allocations: 27.44 kB / 0.5938 GB, free: 28.63 MB / 462.3 MB Notification: Performance of SimCode: time 5.61e-07/0.4786, allocations: 0 / 0.5938 GB, free: 28.63 MB / 462.3 MB Notification: Performance of Templates: time 0.004622/0.4832, allocations: 2.965 MB / 0.5967 GB, free: 25.7 MB / 462.3 MB 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