Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.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: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 111.8 kB / 17.06 MB, free: 5.977 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.002329/0.002329, allocations: 194.9 kB / 18 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.032/2.032, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.717/1.717, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 62 kB / 0.5705 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2521, allocations: 80.7 MB / 0.6493 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.006915/0.259, allocations: 2.391 MB / 0.6517 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2609, allocations: 0.5376 MB / 0.6522 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.2612, allocations: 4 kB / 0.6522 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.2616, allocations: 43.64 kB / 0.6522 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.262, allocations: 63.41 kB / 0.6523 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.2623, allocations: 55.92 kB / 0.6523 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.03814/0.3005, allocations: 25.83 MB / 0.6776 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03345/0.334, allocations: 11.05 MB / 0.6884 GB, free: 5.391 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02537/0.3595, allocations: 10.2 MB / 0.6983 GB, free: 11.16 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02925/0.3888, allocations: 10.46 MB / 0.7085 GB, free: 0.6562 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.01146/0.4004, allocations: 1.785 MB / 0.7103 GB, free: 14.87 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01565/0.4161, allocations: 1.785 MB / 0.712 GB, free: 13.08 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.01551/0.4317, allocations: 4.794 MB / 0.7167 GB, free: 8.277 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.03421/0.4659, allocations: 10.49 MB / 0.7269 GB, free: 13.74 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.0583/0.5243, allocations: 28.14 MB / 0.7544 GB, free: 1.531 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.5244, allocations: 4 kB / 0.7544 GB, free: 1.527 MB / 0.592 GB Notification: Performance of FrontEnd: time 4.528e-06/0.5245, allocations: 4 kB / 0.7544 GB, free: 1.523 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.001757/0.5262, allocations: 0 / 0.7544 GB, free: 1.523 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 1.22/1.747, allocations: 25.13 MB / 0.779 GB, free: 86.05 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/1.747, allocations: 13.95 kB / 0.779 GB, free: 86.05 MB / 0.6079 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01356/1.76, allocations: 2.3 MB / 0.7812 GB, free: 84.89 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/1.776, allocations: 1.992 MB / 0.7832 GB, free: 83.94 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04588/1.822, allocations: 10.68 MB / 0.7936 GB, free: 80.39 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002002/1.824, allocations: 1.148 MB / 0.7947 GB, free: 79.86 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008262/1.832, allocations: 1.487 MB / 0.7962 GB, free: 79.37 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08668/1.919, allocations: 25.37 MB / 0.821 GB, free: 58.44 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000804/1.92, allocations: 3.938 kB / 0.821 GB, free: 58.44 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00856/1.928, allocations: 0.6953 MB / 0.8216 GB, free: 57.74 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003771/1.929, allocations: 387.6 kB / 0.822 GB, free: 57.37 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07286/2.002, allocations: 25.83 MB / 0.8472 GB, free: 31.52 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2867/2.288, allocations: 75.48 MB / 0.9209 GB, free: 2.648 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05917/2.348, allocations: 22.23 MB / 0.9427 GB, free: 12.47 MB / 0.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03064/2.378, allocations: 10.32 MB / 0.9527 GB, free: 2.121 MB / 0.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/2.38, allocations: 121.5 kB / 0.9529 GB, free: 2 MB / 0.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005939/2.38, allocations: 263.3 kB / 0.9531 GB, free: 1.73 MB / 0.686 GB Notification: Performance of pre-optimization done (n=1218): time 0.0001336/2.381, allocations: 0 / 0.9531 GB, free: 1.73 MB / 0.686 GB Notification: Performance of matching and sorting (n=1218): time 0.1145/2.495, allocations: 29.99 MB / 0.9824 GB, free: 3.645 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002902/2.495, allocations: 184.9 kB / 0.9826 GB, free: 3.449 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06093/2.556, allocations: 16.89 MB / 0.9991 GB, free: 2.625 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.004498/2.561, allocations: 297.7 kB / 0.9993 GB, free: 2.328 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.01454/2.575, allocations: 7.173 MB / 1.006 GB, free: 11.09 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.009221/2.585, allocations: 4.113 MB / 1.01 GB, free: 6.922 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02347/2.608, allocations: 2.717 MB / 1.013 GB, free: 4.195 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 0.0001642/2.609, allocations: 301.8 kB / 1.013 GB, free: 3.898 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03107/2.64, allocations: 9.873 MB / 1.023 GB, free: 10.02 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03603/2.676, allocations: 12.01 MB / 1.035 GB, free: 13.41 MB / 0.7798 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08162/2.757, allocations: 20.48 MB / 1.055 GB, free: 8.242 MB / 0.7954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001616/2.758, allocations: 16 kB / 1.055 GB, free: 8.227 MB / 0.7954 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.726/3.484, allocations: 32.8 MB / 1.087 GB, free: 257.6 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/3.484, allocations: 23.97 kB / 1.087 GB, free: 257.6 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/3.484, allocations: 43.5 kB / 1.087 GB, free: 257.6 MB / 0.811 GB Notification: Tearing is skipped for strong component 1 because system size of 811 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/3.485, allocations: 82.31 kB / 1.087 GB, free: 257.6 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01661/3.501, allocations: 2.22 MB / 1.089 GB, free: 257.4 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004347/3.502, allocations: 112.2 kB / 1.089 GB, free: 257.4 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03314/3.535, allocations: 3.27 MB / 1.092 GB, free: 257.1 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006099/3.541, allocations: 457.7 kB / 1.093 GB, free: 257.1 MB / 0.811 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * 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 (1011): * Single equations (assignments): 1010 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(811,0.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.02604/3.567, allocations: 6.166 MB / 1.099 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01061/3.578, allocations: 1.398 MB / 1.1 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008385/3.586, allocations: 2.163 MB / 1.102 GB, free: 256.2 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002066/3.586, allocations: 119.1 kB / 1.102 GB, free: 256.2 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006403/3.587, allocations: 114.3 kB / 1.102 GB, free: 256.2 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003191/3.587, allocations: 57.61 kB / 1.103 GB, free: 256.2 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0475/3.635, allocations: 15.36 MB / 1.118 GB, free: 251.9 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001932/3.635, allocations: 0 / 1.118 GB, free: 251.9 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005796/3.641, allocations: 0.9242 MB / 1.118 GB, free: 251.8 MB / 0.811 GB Notification: Tearing is skipped for strong component 2 because system size of 811 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 7.859e-05/3.641, allocations: 14.69 kB / 1.118 GB, free: 251.8 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00281/3.644, allocations: 190.3 kB / 1.119 GB, free: 251.6 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-05/3.644, allocations: 18.62 kB / 1.119 GB, free: 251.6 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/3.644, allocations: 0 / 1.119 GB, free: 251.6 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07956/3.724, allocations: 24.31 MB / 1.142 GB, free: 243.9 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01219/3.736, allocations: 2.253 MB / 1.145 GB, free: 241.8 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01073/3.747, allocations: 192 kB / 1.145 GB, free: 241.6 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03182/3.779, allocations: 4.024 MB / 1.149 GB, free: 237.9 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005544/3.784, allocations: 1.237 MB / 1.15 GB, free: 236.7 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004615/3.789, allocations: 369.4 kB / 1.15 GB, free: 236.4 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.03375/3.823, allocations: 11.59 MB / 1.162 GB, free: 224.8 MB / 0.811 GB Notification: Performance of sort global known variables: time 1.262e-06/3.823, allocations: 0 / 1.162 GB, free: 224.8 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.03065/3.853, allocations: 5.353 MB / 1.167 GB, free: 219.5 MB / 0.811 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (408): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(811,0.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.08351/3.937, allocations: 25.32 MB / 1.192 GB, free: 194 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.06168/3.999, allocations: 21.34 MB / 1.212 GB, free: 172.6 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 4.937e-05/3.999, allocations: 31.12 kB / 1.212 GB, free: 172.6 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.02938/4.028, allocations: 9.709 MB / 1.222 GB, free: 162.8 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04214/4.07, allocations: 3.743 MB / 1.226 GB, free: 159.1 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.189/5.259, allocations: 182.5 MB / 1.404 GB, free: 249.1 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0313/5.291, allocations: 10.92 MB / 1.414 GB, free: 248 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.03278/5.324, allocations: 6.42 MB / 1.421 GB, free: 247.3 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01803/5.342, allocations: 6.011 MB / 1.427 GB, free: 243 MB / 0.8267 GB Notification: Performance of SimCode: time 2.856e-06/5.342, allocations: 0 / 1.427 GB, free: 243 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.474/6.816, allocations: 357.4 MB / 1.776 GB, free: 259 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 70.24/77.06, allocations: 9.078 kB / 1.776 GB, free: 259 MB / 0.8423 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches