Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001163, allocations: 105 kB / 16.62 MB, free: 6.809 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.001135/0.001135, allocations: 197.9 kB / 17.55 MB, free: 5.949 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.286/1.286, allocations: 222.9 MB / 241.2 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 0.9045/0.9045, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 55.91 kB / 0.4918 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5266, allocations: 80.68 MB / 0.5706 GB, free: 43.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002539/0.5292, allocations: 1.4 MB / 0.5719 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002726/0.5294, allocations: 63 kB / 0.572 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.5295, allocations: 3.938 kB / 0.572 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.5296, allocations: 4.922 kB / 0.572 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.5297, allocations: 11.52 kB / 0.572 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.5299, allocations: 20.03 kB / 0.572 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.5302, allocations: 193.7 kB / 0.5722 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.5302, allocations: 7.109 kB / 0.5722 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.4e-05/0.5303, allocations: 72.62 kB / 0.5723 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.5305, allocations: 110.3 kB / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.5306, allocations: 8.938 kB / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.262e-05/0.5306, allocations: 9.75 kB / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.5307, allocations: 78.17 kB / 0.5725 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.5308, allocations: 73.48 kB / 0.5726 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.531, allocations: 139.1 kB / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.531, allocations: 0 / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.024e-06/0.531, allocations: 0 / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.531, allocations: 0 / 0.5727 GB, free: 42.32 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009755/0.532, allocations: 0.5201 MB / 0.5732 GB, free: 41.86 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.532, allocations: 13.2 kB / 0.5732 GB, free: 41.86 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.5321, allocations: 15.62 kB / 0.5732 GB, free: 41.86 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.5323, allocations: 217.2 kB / 0.5734 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.5323, allocations: 11.72 kB / 0.5734 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.5324, allocations: 29.19 kB / 0.5735 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.5327, allocations: 187.5 kB / 0.5737 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5328, allocations: 4.125 kB / 0.5737 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.5328, allocations: 10.09 kB / 0.5737 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5328, allocations: 6.312 kB / 0.5737 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.533, allocations: 109.9 kB / 0.5738 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.5341, allocations: 0.5946 MB / 0.5744 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.5359, allocations: 0.5788 MB / 0.5749 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.5361, allocations: 98.62 kB / 0.575 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.5361, allocations: 2.406 kB / 0.575 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.5362, allocations: 31.84 kB / 0.5751 GB, free: 40.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.5362, allocations: 0 / 0.5751 GB, free: 40.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0005519/0.5367, allocations: 318.4 kB / 0.5754 GB, free: 40.5 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.5368, allocations: 57.28 kB / 0.5754 GB, free: 40.43 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.5368, allocations: 130.1 kB / 0.5755 GB, free: 40.31 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.5369, allocations: 31.17 kB / 0.5756 GB, free: 40.27 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.5369, allocations: 109.1 kB / 0.5757 GB, free: 40.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.537, allocations: 94.03 kB / 0.5758 GB, free: 40.08 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.5371, allocations: 74.91 kB / 0.5758 GB, free: 40.03 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.5371, allocations: 328.1 kB / 0.5761 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.5373, allocations: 110.8 kB / 0.5762 GB, free: 39.65 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.5375, allocations: 121.9 kB / 0.5764 GB, free: 39.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.5378, allocations: 252.8 kB / 0.5766 GB, free: 39.48 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5378, allocations: 3.938 kB / 0.5766 GB, free: 39.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004218/0.5382, allocations: 343.3 kB / 0.5769 GB, free: 39.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5382, allocations: 5.5 kB / 0.5769 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5383, allocations: 0 / 0.5769 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.5383, allocations: 5.359 kB / 0.5769 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.5387, allocations: 113.2 kB / 0.5771 GB, free: 39.28 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5388, allocations: 1.375 kB / 0.5771 GB, free: 39.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.5389, allocations: 36.02 kB / 0.5771 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.5389, allocations: 6.875 kB / 0.5771 GB, free: 39.25 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 (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 prepare postOptimizeDAE: time 8.466e-05/0.539, allocations: 136.7 kB / 0.5772 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.539, allocations: 13.31 kB / 0.5772 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.033e-05/0.5391, allocations: 30.22 kB / 0.5773 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5391, allocations: 2.75 kB / 0.5773 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5391, allocations: 1.375 kB / 0.5773 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5391, allocations: 3.984 kB / 0.5773 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.5394, allocations: 266.7 kB / 0.5775 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5394, allocations: 4 kB / 0.5775 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.5401, allocations: 113 kB / 0.5776 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.5401, allocations: 0.9375 kB / 0.5776 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.5401, allocations: 14.42 kB / 0.5777 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5401, allocations: 0.9375 kB / 0.5777 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5401, allocations: 0.9375 kB / 0.5777 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.5407, allocations: 427.2 kB / 0.5781 GB, free: 38.53 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.5407, allocations: 96.53 kB / 0.5782 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.5408, allocations: 14.84 kB / 0.5782 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.5409, allocations: 8.578 kB / 0.5782 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.541, allocations: 22.38 kB / 0.5782 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.541, allocations: 4.594 kB / 0.5782 GB, free: 38.39 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.5411, allocations: 97.36 kB / 0.5783 GB, free: 38.31 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5411, allocations: 0 / 0.5783 GB, free: 38.31 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000287/0.5414, allocations: 56.91 kB / 0.5784 GB, free: 38.3 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * 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.0001059/0.5415, allocations: 130.1 kB / 0.5785 GB, free: 38.19 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.5419, allocations: 287.2 kB / 0.5788 GB, free: 38.08 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.542, allocations: 0 / 0.5788 GB, free: 38.08 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.5421, allocations: 113.3 kB / 0.5789 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.5424, allocations: 19.81 kB / 0.5789 GB, free: 38.02 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.544, allocations: 1.47 MB / 0.5803 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.5441, allocations: 0.7361 MB / 0.581 GB, free: 36.1 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.5443, allocations: 73.66 kB / 0.5811 GB, free: 36.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.5444, allocations: 17.53 kB / 0.5811 GB, free: 36.06 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.5444, allocations: 4 kB / 0.5811 GB, free: 36.05 MB / 462.3 MB Notification: Performance of Templates: time 0.004095/0.5485, allocations: 1.716 MB / 0.5828 GB, free: 35.25 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches