Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_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.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_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.001195/0.001195, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001126/0.001126, allocations: 190 kB / 17.54 MB, free: 6.066 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.229/1.229, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.772/0.772, allocations: 119.3 MB / 410.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 0.4906 GB, free: 14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4044, allocations: 80.68 MB / 0.5693 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.03595/0.4404, allocations: 45.45 MB / 0.6137 GB, free: 4.246 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.459, allocations: 9.609 MB / 0.6231 GB, free: 10.6 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008671/0.4677, allocations: 195.4 kB / 0.6233 GB, free: 10.41 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005844/0.4737, allocations: 1.252 MB / 0.6245 GB, free: 9.145 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.4843, allocations: 2.537 MB / 0.627 GB, free: 6.586 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.006105/0.4904, allocations: 2.103 MB / 0.6291 GB, free: 4.48 MB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.5054, allocations: 12 MB / 0.6408 GB, free: 8.414 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004673/0.5101, allocations: 3.181 MB / 0.6439 GB, free: 5.145 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005713/0.5158, allocations: 4.166 MB / 0.6479 GB, free: 0.9648 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005894/0.5217, allocations: 4.655 MB / 0.6525 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.002532/0.5243, allocations: 0.9258 MB / 0.6534 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.5267, allocations: 0.9258 MB / 0.6543 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.5281, allocations: 2.113 MB / 0.6564 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.005961/0.5341, allocations: 5.058 MB / 0.6613 GB, free: 3.234 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.5442, allocations: 10.95 MB / 0.672 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5443, allocations: 0 / 0.672 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5443, allocations: 4 kB / 0.672 GB, free: 8.242 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.000361/0.5446, allocations: 0 / 0.672 GB, free: 8.242 MB / 0.5139 GB 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.01826/0.5629, allocations: 9.66 MB / 0.6814 GB, free: 14.49 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.563, allocations: 11.89 kB / 0.6814 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001359/0.5643, allocations: 1.086 MB / 0.6825 GB, free: 13.38 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.5658, allocations: 1.032 MB / 0.6835 GB, free: 12.34 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/0.5715, allocations: 3.365 MB / 0.6868 GB, free: 8.891 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.5719, allocations: 0.5906 MB / 0.6874 GB, free: 8.297 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.573, allocations: 0.7776 MB / 0.6881 GB, free: 7.52 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.585, allocations: 6.48 MB / 0.6945 GB, free: 0.9844 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/0.5852, allocations: 0 / 0.6945 GB, free: 0.9844 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006941/0.5859, allocations: 371.9 kB / 0.6948 GB, free: 0.6211 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.586, allocations: 196 kB / 0.695 GB, free: 440 kB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00924/0.5953, allocations: 5.523 MB / 0.7004 GB, free: 10.89 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04183/0.6371, allocations: 23.98 MB / 0.7238 GB, free: 2.172 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007495/0.6447, allocations: 6.717 MB / 0.7304 GB, free: 11.45 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.6478, allocations: 2.731 MB / 0.733 GB, free: 8.699 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.648, allocations: 64.94 kB / 0.7331 GB, free: 8.633 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.6481, allocations: 145.5 kB / 0.7332 GB, free: 8.48 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=630): time 7.645e-06/0.6482, allocations: 0 / 0.7332 GB, free: 8.48 MB / 0.5764 GB Notification: Performance of matching and sorting (n=630): time 0.01249/0.6607, allocations: 8.144 MB / 0.7412 GB, free: 252 kB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.6608, allocations: 116.3 kB / 0.7413 GB, free: 120 kB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006877/0.6676, allocations: 5.137 MB / 0.7463 GB, free: 10.97 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0006922/0.6684, allocations: 165.7 kB / 0.7465 GB, free: 10.8 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.6705, allocations: 3.613 MB / 0.75 GB, free: 7.152 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/0.6721, allocations: 2.095 MB / 0.7521 GB, free: 5.027 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.6737, allocations: 1.118 MB / 0.7532 GB, free: 3.902 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.6738, allocations: 305.1 kB / 0.7534 GB, free: 3.602 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/0.6767, allocations: 1.896 MB / 0.7553 GB, free: 1.703 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3957/1.072, allocations: 2.928 MB / 0.7582 GB, free: 155.2 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008978/1.081, allocations: 4.934 MB / 0.763 GB, free: 153.8 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.582e-05/1.081, allocations: 7.625 kB / 0.763 GB, free: 153.8 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01335/1.095, allocations: 8.647 MB / 0.7714 GB, free: 150.5 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/1.095, allocations: 11.81 kB / 0.7714 GB, free: 150.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/1.095, allocations: 23.72 kB / 0.7715 GB, free: 150.5 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 6.522e-05/1.095, allocations: 43.44 kB / 0.7715 GB, free: 150.5 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/1.098, allocations: 0.8125 MB / 0.7723 GB, free: 150.4 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.719e-05/1.098, allocations: 57.56 kB / 0.7723 GB, free: 150.4 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004457/1.102, allocations: 0.7073 MB / 0.773 GB, free: 150.2 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/1.103, allocations: 239.5 kB / 0.7733 GB, free: 150.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.002131/1.105, allocations: 0.9684 MB / 0.7742 GB, free: 149.5 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.106, allocations: 0.727 MB / 0.7749 GB, free: 149.2 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009117/1.107, allocations: 0.7111 MB / 0.7756 GB, free: 148.7 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/1.107, allocations: 58.75 kB / 0.7757 GB, free: 148.7 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001629/1.107, allocations: 59.94 kB / 0.7757 GB, free: 148.7 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/1.107, allocations: 28.83 kB / 0.7758 GB, free: 148.7 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006324/1.114, allocations: 5.601 MB / 0.7812 GB, free: 146.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/1.114, allocations: 0 / 0.7812 GB, free: 146.5 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.115, allocations: 328.5 kB / 0.7815 GB, free: 146.5 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 2.183e-05/1.115, allocations: 11.72 kB / 0.7816 GB, free: 146.5 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/1.115, allocations: 99.88 kB / 0.7816 GB, free: 146.4 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/1.115, allocations: 7 kB / 0.7817 GB, free: 146.4 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.115, allocations: 3.797 kB / 0.7817 GB, free: 146.4 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009376/1.125, allocations: 7.033 MB / 0.7885 GB, free: 143.3 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.126, allocations: 0.8288 MB / 0.7893 GB, free: 142.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.127, allocations: 98.38 kB / 0.7894 GB, free: 142.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00501/1.132, allocations: 0.7578 MB / 0.7902 GB, free: 142.5 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008413/1.133, allocations: 0.6492 MB / 0.7908 GB, free: 142.4 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004209/1.134, allocations: 182.1 kB / 0.791 GB, free: 142.3 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.003712/1.137, allocations: 3.387 MB / 0.7943 GB, free: 140.6 MB / 0.5923 GB Notification: Performance of sort global known variables: time 1.2e-07/1.137, allocations: 0 / 0.7943 GB, free: 140.6 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.003999/1.141, allocations: 2.262 MB / 0.7965 GB, free: 139.2 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.008899/1.15, allocations: 7.817 MB / 0.8041 GB, free: 131.3 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01434/1.165, allocations: 5.782 MB / 0.8098 GB, free: 125.5 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.165, allocations: 21.06 kB / 0.8098 GB, free: 125.4 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003487/1.168, allocations: 2.962 MB / 0.8127 GB, free: 122.4 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005561/1.174, allocations: 1.54 MB / 0.8142 GB, free: 120.9 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07936/1.253, allocations: 85.48 MB / 0.8977 GB, free: 28.34 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/1.255, allocations: 3.307 MB / 0.9009 GB, free: 25 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.004463/1.259, allocations: 0.6818 MB / 0.9016 GB, free: 24.31 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006242/1.266, allocations: 3.241 MB / 0.9047 GB, free: 21.07 MB / 0.5923 GB Notification: Performance of SimCode: time 3.626e-06/1.266, allocations: 4 kB / 0.9047 GB, free: 21.06 MB / 0.5923 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3989/1.665, allocations: 147.6 MB / 1.049 GB, free: 203.2 MB / 0.6704 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/1.665, allocations: 315.5 kB / 1.049 GB, free: 202.8 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.584/7.249, allocations: 0.5156 kB / 1.049 GB, free: 202.8 MB / 0.6704 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches