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.0009601/0.0009598, allocations: 90.33 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.00089/0.00089, allocations: 179.8 kB / 17.56 MB, free: 6.176 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: 223.3 MB / 241.6 MB, free: 14.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.003/1.003, allocations: 120.5 MB / 413.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004999, allocations: 12 kB / 0.4963 GB, free: 10.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6249/0.6254, allocations: 82.83 MB / 0.5771 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001304/0.6268, allocations: 1.064 MB / 0.5782 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000211/0.627, allocations: 67.5 kB / 0.5782 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.6271, allocations: 0 / 0.5782 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.6272, allocations: 8.953 kB / 0.5783 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.263e-05/0.6273, allocations: 14.94 kB / 0.5783 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.6275, allocations: 13.45 kB / 0.5783 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.6278, allocations: 370.1 kB / 0.5786 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.6279, allocations: 8.422 kB / 0.5786 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.628, allocations: 123.1 kB / 0.5788 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.6283, allocations: 185.8 kB / 0.5789 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.6283, allocations: 19.25 kB / 0.579 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.6284, allocations: 21.81 kB / 0.579 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.6285, allocations: 138.5 kB / 0.5791 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.6287, allocations: 169.5 kB / 0.5793 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.6289, allocations: 241.5 kB / 0.5795 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6289, allocations: 5.203 kB / 0.5795 GB, free: 40.11 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.454e-06/0.629, allocations: 0 / 0.5795 GB, free: 40.11 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.629, allocations: 3.938 kB / 0.5795 GB, free: 40.11 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.001419/0.6304, allocations: 0.6889 MB / 0.5802 GB, free: 39.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6305, allocations: 9.531 kB / 0.5802 GB, free: 39.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.6305, allocations: 31.75 kB / 0.5802 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.6308, allocations: 254 kB / 0.5805 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.6309, allocations: 28.66 kB / 0.5805 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.631, allocations: 60.39 kB / 0.5805 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.6315, allocations: 348.3 kB / 0.5809 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6315, allocations: 192 / 0.5809 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.6316, allocations: 10.69 kB / 0.5809 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.6316, allocations: 9.438 kB / 0.5809 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.632, allocations: 204.8 kB / 0.5811 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.634, allocations: 1.017 MB / 0.5821 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.6377, allocations: 1.221 MB / 0.5833 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.638, allocations: 186.1 kB / 0.5835 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.6381, allocations: 3.719 kB / 0.5835 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.6381, allocations: 45.94 kB / 0.5835 GB, free: 37.68 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.413e-06/0.6381, allocations: 0 / 0.5835 GB, free: 37.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001022/0.6391, allocations: 0.5666 MB / 0.5841 GB, free: 37.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.6392, allocations: 56 kB / 0.5841 GB, free: 37.35 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.6393, allocations: 132.2 kB / 0.5842 GB, free: 37.23 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.6393, allocations: 40.45 kB / 0.5843 GB, free: 37.18 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.6394, allocations: 120.5 kB / 0.5844 GB, free: 37.07 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.6395, allocations: 192.3 kB / 0.5846 GB, free: 36.9 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.6396, allocations: 74.48 kB / 0.5846 GB, free: 36.85 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.6396, allocations: 348 kB / 0.585 GB, free: 36.51 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.64, allocations: 222.7 kB / 0.5852 GB, free: 36.41 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.6404, allocations: 228.3 kB / 0.5854 GB, free: 36.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008371/0.6413, allocations: 0.4984 MB / 0.5859 GB, free: 36.08 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6413, allocations: 0 / 0.5859 GB, free: 36.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001051/0.6423, allocations: 0.6212 MB / 0.5865 GB, free: 35.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6424, allocations: 5.062 kB / 0.5865 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6424, allocations: 9.125 kB / 0.5865 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6424, allocations: 6.469 kB / 0.5865 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/0.6433, allocations: 221.4 kB / 0.5867 GB, free: 35.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.6433, allocations: 7.375 kB / 0.5867 GB, free: 35.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.6436, allocations: 61.81 kB / 0.5868 GB, free: 35.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.6437, allocations: 17.88 kB / 0.5868 GB, free: 35.68 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.0001521/0.6438, allocations: 161.9 kB / 0.587 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.6439, allocations: 21.84 kB / 0.587 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.644, allocations: 55.23 kB / 0.587 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.644, allocations: 5.062 kB / 0.587 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6441, allocations: 3.984 kB / 0.587 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6441, allocations: 1.25 kB / 0.587 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.6445, allocations: 383 kB / 0.5874 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6446, allocations: 3.938 kB / 0.5874 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.6458, allocations: 228.9 kB / 0.5876 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6458, allocations: 0 / 0.5876 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.6459, allocations: 35.97 kB / 0.5877 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.6459, allocations: 0 / 0.5877 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6459, allocations: 0 / 0.5877 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.6467, allocations: 0.7025 MB / 0.5884 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.6468, allocations: 100.8 kB / 0.5885 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.6468, allocations: 19.98 kB / 0.5885 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.6471, allocations: 27.97 kB / 0.5885 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.6472, allocations: 27.89 kB / 0.5885 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.6472, allocations: 12 kB / 0.5885 GB, free: 34.09 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.789e-05/0.6473, allocations: 91.27 kB / 0.5886 GB, free: 34 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6473, allocations: 4 kB / 0.5886 GB, free: 34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.00033/0.6476, allocations: 119.8 kB / 0.5887 GB, free: 33.88 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.0001322/0.6478, allocations: 123.2 kB / 0.5889 GB, free: 33.75 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006237/0.6484, allocations: 0.4916 MB / 0.5893 GB, free: 33.26 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6484, allocations: 4 kB / 0.5893 GB, free: 33.26 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.6487, allocations: 223.8 kB / 0.5896 GB, free: 33.04 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.649, allocations: 20.22 kB / 0.5896 GB, free: 33.02 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.652, allocations: 3.341 MB / 0.5928 GB, free: 29.63 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6522, allocations: 0.7992 MB / 0.5936 GB, free: 28.81 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.6526, allocations: 166.7 kB / 0.5938 GB, free: 28.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.6527, allocations: 27.44 kB / 0.5938 GB, free: 28.62 MB / 462.3 MB Notification: Performance of SimCode: time 7.31e-07/0.6527, allocations: 0 / 0.5938 GB, free: 28.62 MB / 462.3 MB Notification: Performance of Templates: time 0.006085/0.6588, allocations: 2.973 MB / 0.5967 GB, free: 25.68 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/jenkins1/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