Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_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: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",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.00121/0.00121, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001179/0.001179, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.232/1.232, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.083/1.083, allocations: 119.3 MB / 410.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5032, allocations: 80.68 MB / 0.5691 GB, free: 43.73 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.003421/0.5067, allocations: 2.45 MB / 0.5715 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.5075, allocations: 0.5359 MB / 0.5721 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.5076, allocations: 3.781 kB / 0.5721 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.5078, allocations: 23.34 kB / 0.5721 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.5079, allocations: 58.06 kB / 0.5721 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.508, allocations: 50.8 kB / 0.5722 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009413/0.5174, allocations: 12.86 MB / 0.5847 GB, free: 33.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003969/0.5214, allocations: 4.75 MB / 0.5894 GB, free: 29.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005554/0.527, allocations: 4.041 MB / 0.5933 GB, free: 25.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005565/0.5326, allocations: 4.655 MB / 0.5979 GB, free: 20.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.534, allocations: 0.6094 MB / 0.5985 GB, free: 19.86 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.5366, allocations: 0.6094 MB / 0.5991 GB, free: 19.25 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.5379, allocations: 1.867 MB / 0.6009 GB, free: 17.37 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.006858/0.5447, allocations: 4.808 MB / 0.6056 GB, free: 12.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.009872/0.5546, allocations: 13.77 MB / 0.619 GB, free: 14.73 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.5547, allocations: 0 / 0.619 GB, free: 14.73 MB / 478.3 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5547, allocations: 3.938 kB / 0.619 GB, free: 14.73 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0005335/0.5552, allocations: 0 / 0.619 GB, free: 14.73 MB / 478.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.03026/0.5855, allocations: 12.93 MB / 0.6317 GB, free: 1.703 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.5856, allocations: 12.03 kB / 0.6317 GB, free: 1.691 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003443/0.589, allocations: 1.207 MB / 0.6329 GB, free: 480 kB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.5924, allocations: 1.032 MB / 0.6339 GB, free: 15.42 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.6049, allocations: 5.447 MB / 0.6392 GB, free: 9.895 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/0.6055, allocations: 0.5945 MB / 0.6398 GB, free: 9.297 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/0.6077, allocations: 0.766 MB / 0.6405 GB, free: 8.531 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02784/0.6356, allocations: 13.12 MB / 0.6533 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/0.6359, allocations: 0 / 0.6533 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002348/0.6383, allocations: 372 kB / 0.6537 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.6385, allocations: 196 kB / 0.6539 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02694/0.6655, allocations: 13.33 MB / 0.6669 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09229/0.7578, allocations: 38.95 MB / 0.7049 GB, free: 5.746 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/0.7756, allocations: 11.27 MB / 0.7159 GB, free: 10.46 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008931/0.7845, allocations: 5.314 MB / 0.7211 GB, free: 5.129 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/0.785, allocations: 64.94 kB / 0.7212 GB, free: 5.062 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.7852, allocations: 149.5 kB / 0.7213 GB, free: 4.906 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=630): time 1.743e-05/0.7852, allocations: 0 / 0.7213 GB, free: 4.906 MB / 0.5608 GB Notification: Performance of matching and sorting (n=630): time 0.03148/0.8167, allocations: 15.45 MB / 0.7364 GB, free: 5.355 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.8169, allocations: 120.3 kB / 0.7365 GB, free: 5.223 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02274/0.8397, allocations: 8.772 MB / 0.7451 GB, free: 12.44 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001964/0.8417, allocations: 165.7 kB / 0.7452 GB, free: 12.27 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.005259/0.847, allocations: 3.69 MB / 0.7489 GB, free: 8.547 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.003818/0.8508, allocations: 2.13 MB / 0.7509 GB, free: 6.387 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009322/0.8602, allocations: 1.407 MB / 0.7523 GB, free: 4.973 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8604, allocations: 305.1 kB / 0.7526 GB, free: 4.672 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4379/1.298, allocations: 5.089 MB / 0.7576 GB, free: 151.8 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00915/1.308, allocations: 6.19 MB / 0.7636 GB, free: 150.9 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.323, allocations: 10.56 MB / 0.7739 GB, free: 147.6 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-05/1.323, allocations: 6 kB / 0.7739 GB, free: 147.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02129/1.345, allocations: 16.88 MB / 0.7904 GB, free: 143.3 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/1.345, allocations: 19.94 kB / 0.7904 GB, free: 143.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/1.345, allocations: 28 kB / 0.7905 GB, free: 143.2 MB / 0.5923 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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 5.448e-05/1.345, allocations: 40 kB / 0.7905 GB, free: 143.2 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/1.348, allocations: 1.112 MB / 0.7916 GB, free: 142.3 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.369e-05/1.348, allocations: 62.19 kB / 0.7916 GB, free: 142.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006153/1.355, allocations: 1.6 MB / 0.7932 GB, free: 141.4 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006531/1.355, allocations: 236 kB / 0.7934 GB, free: 141.2 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004326/1.36, allocations: 3.231 MB / 0.7966 GB, free: 138.3 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.361, allocations: 0.7259 MB / 0.7973 GB, free: 137.6 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/1.363, allocations: 1.119 MB / 0.7984 GB, free: 136.5 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/1.363, allocations: 60 kB / 0.7984 GB, free: 136.4 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001447/1.363, allocations: 60 kB / 0.7985 GB, free: 136.4 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.415e-05/1.363, allocations: 35.88 kB / 0.7985 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008469/1.371, allocations: 7.978 MB / 0.8063 GB, free: 128.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/1.371, allocations: 0 / 0.8063 GB, free: 128.3 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/1.373, allocations: 479.3 kB / 0.8068 GB, free: 127.9 MB / 0.5923 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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 1.88e-05/1.373, allocations: 4 kB / 0.8068 GB, free: 127.9 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000379/1.373, allocations: 99.17 kB / 0.8069 GB, free: 127.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/1.373, allocations: 11.98 kB / 0.8069 GB, free: 127.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.373, allocations: 3.656 kB / 0.8069 GB, free: 127.8 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.388, allocations: 12.56 MB / 0.8192 GB, free: 115.1 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/1.39, allocations: 1.206 MB / 0.8203 GB, free: 113.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/1.392, allocations: 104 kB / 0.8204 GB, free: 113.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006796/1.399, allocations: 1.962 MB / 0.8224 GB, free: 111.8 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/1.4, allocations: 0.6403 MB / 0.823 GB, free: 111.1 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000593/1.4, allocations: 184.9 kB / 0.8232 GB, free: 111 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.006707/1.407, allocations: 6.031 MB / 0.829 GB, free: 104.9 MB / 0.5923 GB Notification: Performance of sort global known variables: time 3.11e-07/1.407, allocations: 0 / 0.829 GB, free: 104.9 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.006017/1.413, allocations: 2.772 MB / 0.8318 GB, free: 102.1 MB / 0.5923 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 (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01583/1.429, allocations: 13.34 MB / 0.8448 GB, free: 88.66 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.443, allocations: 10.97 MB / 0.8555 GB, free: 77.63 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/1.443, allocations: 18 kB / 0.8555 GB, free: 77.61 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.006504/1.449, allocations: 5.05 MB / 0.8604 GB, free: 72.54 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009014/1.458, allocations: 1.871 MB / 0.8623 GB, free: 70.68 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2228/1.681, allocations: 124.6 MB / 0.984 GB, free: 2.922 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007519/1.689, allocations: 5.967 MB / 0.9898 GB, free: 12.91 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.008276/1.697, allocations: 3.152 MB / 0.9929 GB, free: 9.746 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00506/1.702, allocations: 2.952 MB / 0.9957 GB, free: 6.793 MB / 0.6704 GB Notification: Performance of SimCode: time 2.074e-06/1.702, allocations: 0 / 0.9957 GB, free: 6.793 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4128/2.115, allocations: 190.6 MB / 1.182 GB, free: 99.37 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/2.115, allocations: 298.6 kB / 1.182 GB, free: 98.99 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.693/7.808, allocations: 0 / 1.182 GB, free: 98.99 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches