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.00132/0.00132, allocations: 110.5 kB / 17.28 MB, free: 6.074 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.00119/0.00119, allocations: 189.4 kB / 18.21 MB, free: 5.168 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.406/1.406, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.135/1.135, allocations: 119.3 MB / 411.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 71.89 kB / 0.4924 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6001/0.6016, allocations: 80.68 MB / 0.5712 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002395/0.604, allocations: 1.407 MB / 0.5726 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.6042, allocations: 58.7 kB / 0.5726 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.6043, allocations: 0 / 0.5726 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.6044, allocations: 11.92 kB / 0.5727 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.6045, allocations: 15.53 kB / 0.5727 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.6047, allocations: 12.8 kB / 0.5727 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.605, allocations: 357.8 kB / 0.573 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.6051, allocations: 5.062 kB / 0.573 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.6052, allocations: 124.6 kB / 0.5731 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.6054, allocations: 188.9 kB / 0.5733 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.6055, allocations: 19.47 kB / 0.5733 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.6055, allocations: 21.28 kB / 0.5734 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.6057, allocations: 138.9 kB / 0.5735 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.6059, allocations: 144.4 kB / 0.5736 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.606, allocations: 171.8 kB / 0.5738 GB, free: 42.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6061, allocations: 0 / 0.5738 GB, free: 42.1 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6061, allocations: 0 / 0.5738 GB, free: 42.1 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.6061, allocations: 1.375 kB / 0.5738 GB, free: 42.1 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.0015/0.6076, allocations: 0.7305 MB / 0.5745 GB, free: 41.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.6076, allocations: 17.33 kB / 0.5745 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.6077, allocations: 34.41 kB / 0.5746 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.608, allocations: 247 kB / 0.5748 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.6081, allocations: 28.34 kB / 0.5748 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/0.6082, allocations: 55.8 kB / 0.5749 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.6087, allocations: 352.4 kB / 0.5752 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6088, allocations: 192 / 0.5752 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.6088, allocations: 18.5 kB / 0.5752 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.6088, allocations: 6.094 kB / 0.5752 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.6092, allocations: 209 kB / 0.5754 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.6112, allocations: 1.001 MB / 0.5764 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/0.6151, allocations: 1.214 MB / 0.5776 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.6154, allocations: 189.6 kB / 0.5778 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.6154, allocations: 12.47 kB / 0.5778 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.6154, allocations: 37.03 kB / 0.5778 GB, free: 39.63 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.6155, allocations: 0.9375 kB / 0.5778 GB, free: 39.63 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001006/0.6165, allocations: 0.5705 MB / 0.5784 GB, free: 39.36 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.6165, allocations: 55.44 kB / 0.5784 GB, free: 39.3 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.6166, allocations: 132.2 kB / 0.5786 GB, free: 39.18 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.6166, allocations: 36.48 kB / 0.5786 GB, free: 39.14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.6167, allocations: 121.5 kB / 0.5787 GB, free: 39.02 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.6168, allocations: 195.3 kB / 0.5789 GB, free: 38.85 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.617, allocations: 122.6 kB / 0.579 GB, free: 38.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.6171, allocations: 343.6 kB / 0.5793 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.6174, allocations: 224.2 kB / 0.5796 GB, free: 38.35 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.6178, allocations: 231.8 kB / 0.5798 GB, free: 38.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.6185, allocations: 0.4979 MB / 0.5803 GB, free: 38.01 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6185, allocations: 0 / 0.5803 GB, free: 38.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008758/0.6194, allocations: 0.6252 MB / 0.5809 GB, free: 37.72 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6194, allocations: 4.719 kB / 0.5809 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6194, allocations: 3.938 kB / 0.5809 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6194, allocations: 2.781 kB / 0.5809 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/0.6203, allocations: 225.2 kB / 0.5811 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.6203, allocations: 3.781 kB / 0.5811 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.6205, allocations: 58.62 kB / 0.5812 GB, free: 37.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.6206, allocations: 17.47 kB / 0.5812 GB, free: 37.62 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.000143/0.6207, allocations: 162.2 kB / 0.5813 GB, free: 37.47 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.6208, allocations: 21.88 kB / 0.5814 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.6209, allocations: 51.83 kB / 0.5814 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.6209, allocations: 7.688 kB / 0.5814 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.621, allocations: 4.844 kB / 0.5814 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.621, allocations: 0 / 0.5814 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.6214, allocations: 391.8 kB / 0.5818 GB, free: 37.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6214, allocations: 4.656 kB / 0.5818 GB, free: 37.08 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.6227, allocations: 223.4 kB / 0.582 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.6227, allocations: 1.25 kB / 0.582 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.6228, allocations: 29.22 kB / 0.582 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6228, allocations: 1.062 kB / 0.582 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6228, allocations: 1.25 kB / 0.582 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009752/0.6238, allocations: 0.7023 MB / 0.5827 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.6238, allocations: 98.67 kB / 0.5828 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.116e-05/0.6239, allocations: 27.94 kB / 0.5828 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.6242, allocations: 24.83 kB / 0.5829 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.6243, allocations: 29.11 kB / 0.5829 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.6243, allocations: 8.062 kB / 0.5829 GB, free: 36.48 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.6244, allocations: 101.4 kB / 0.583 GB, free: 36.39 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6244, allocations: 0 / 0.583 GB, free: 36.39 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003803/0.6248, allocations: 119 kB / 0.5831 GB, free: 36.37 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.0001323/0.6249, allocations: 126.2 kB / 0.5832 GB, free: 36.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009645/0.6259, allocations: 0.6094 MB / 0.5838 GB, free: 36.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6259, allocations: 1.125 kB / 0.5838 GB, free: 36.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.6262, allocations: 224 kB / 0.584 GB, free: 35.95 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.6265, allocations: 21 kB / 0.5841 GB, free: 35.94 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.6296, allocations: 2.841 MB / 0.5868 GB, free: 33.32 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.6298, allocations: 0.8008 MB / 0.5876 GB, free: 32.5 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.63, allocations: 35.38 kB / 0.5877 GB, free: 32.46 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.63, allocations: 0 / 0.5877 GB, free: 32.46 MB / 462.3 MB Notification: Performance of Templates: time 0.005158/0.6352, allocations: 4.468 MB / 0.592 GB, free: 28.01 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