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.0009107/0.0009107, allocations: 91.61 kB / 16.65 MB, free: 6.586 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.0009423/0.0009424, allocations: 185.6 kB / 17.57 MB, free: 6.203 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.259/1.259, allocations: 223.3 MB / 241.6 MB, free: 128 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8327/0.8327, allocations: 120.5 MB / 413.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002685, allocations: 8 kB / 0.495 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4729, allocations: 82.85 MB / 0.5759 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.001833/0.4748, allocations: 2.073 MB / 0.5779 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.4754, allocations: 0.5276 MB / 0.5784 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.4755, allocations: 6.688 kB / 0.5785 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.4756, allocations: 23.91 kB / 0.5785 GB, free: 39.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.948e-05/0.4757, allocations: 62.41 kB / 0.5785 GB, free: 39.76 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.4758, allocations: 46.83 kB / 0.5786 GB, free: 39.72 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007807/0.4837, allocations: 12.85 MB / 0.5911 GB, free: 30.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.4872, allocations: 4.717 MB / 0.5957 GB, free: 25.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/0.4915, allocations: 3.713 MB / 0.5994 GB, free: 22.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005014/0.4965, allocations: 4.249 MB / 0.6035 GB, free: 17.83 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.4977, allocations: 0.4961 MB / 0.604 GB, free: 17.33 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.4997, allocations: 0.4961 MB / 0.6045 GB, free: 16.84 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.5008, allocations: 1.66 MB / 0.6061 GB, free: 15.17 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005333/0.5061, allocations: 4.595 MB / 0.6106 GB, free: 10.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.009264/0.5154, allocations: 13.52 MB / 0.6238 GB, free: 12.98 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5154, allocations: 3.938 kB / 0.6238 GB, free: 12.98 MB / 478.3 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5154, allocations: 0 / 0.6238 GB, free: 12.98 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0004978/0.5159, allocations: 4 kB / 0.6238 GB, free: 12.97 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.02221/0.5381, allocations: 11.21 MB / 0.6348 GB, free: 1.664 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5382, allocations: 12.03 kB / 0.6348 GB, free: 1.652 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003181/0.5414, allocations: 1.211 MB / 0.6359 GB, free: 436 kB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.544, allocations: 1.028 MB / 0.637 GB, free: 15.38 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009646/0.5536, allocations: 5.443 MB / 0.6423 GB, free: 9.859 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004727/0.5542, allocations: 0.5945 MB / 0.6428 GB, free: 9.262 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/0.556, allocations: 0.766 MB / 0.6436 GB, free: 8.496 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02279/0.5788, allocations: 13.12 MB / 0.6564 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.579, allocations: 0 / 0.6564 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/0.5807, allocations: 368 kB / 0.6568 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.5809, allocations: 196 kB / 0.6569 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.6029, allocations: 13.34 MB / 0.67 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07844/0.6813, allocations: 39.45 MB / 0.7085 GB, free: 5.195 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.696, allocations: 11.28 MB / 0.7195 GB, free: 9.91 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007017/0.7031, allocations: 5.309 MB / 0.7247 GB, free: 4.578 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.7034, allocations: 72.88 kB / 0.7248 GB, free: 4.504 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.7035, allocations: 149.5 kB / 0.7249 GB, free: 4.348 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=630): time 9.477e-06/0.7036, allocations: 7.938 kB / 0.7249 GB, free: 4.34 MB / 0.5608 GB Notification: Performance of matching and sorting (n=630): time 0.02418/0.7277, allocations: 15.47 MB / 0.74 GB, free: 4.773 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.7278, allocations: 112.3 kB / 0.7401 GB, free: 4.648 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/0.741, allocations: 8.775 MB / 0.7487 GB, free: 11.86 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.000988/0.742, allocations: 161.7 kB / 0.7489 GB, free: 11.69 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.002792/0.7448, allocations: 3.691 MB / 0.7525 GB, free: 7.969 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002057/0.7469, allocations: 2.126 MB / 0.7545 GB, free: 5.812 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.7483, allocations: 0.5959 MB / 0.7551 GB, free: 5.211 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.7484, allocations: 301.1 kB / 0.7554 GB, free: 4.914 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.451/1.199, allocations: 5.097 MB / 0.7604 GB, free: 150.9 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008756/1.208, allocations: 6.199 MB / 0.7664 GB, free: 150.1 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/1.222, allocations: 10.57 MB / 0.7768 GB, free: 146.9 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-05/1.222, allocations: 11.59 kB / 0.7768 GB, free: 146.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01956/1.242, allocations: 16.89 MB / 0.7933 GB, free: 140.7 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/1.242, allocations: 16 kB / 0.7933 GB, free: 140.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/1.242, allocations: 24 kB / 0.7933 GB, free: 140.6 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.184e-05/1.242, allocations: 40 kB / 0.7934 GB, free: 140.6 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/1.246, allocations: 1.124 MB / 0.7944 GB, free: 139.7 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.053e-05/1.246, allocations: 58.47 kB / 0.7945 GB, free: 139.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/1.252, allocations: 1.599 MB / 0.7961 GB, free: 138.8 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004114/1.252, allocations: 236 kB / 0.7963 GB, free: 138.6 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.003623/1.256, allocations: 3.237 MB / 0.7995 GB, free: 135.3 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.257, allocations: 0.7261 MB / 0.8002 GB, free: 134.6 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/1.259, allocations: 1.119 MB / 0.8013 GB, free: 133.5 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.259, allocations: 60 kB / 0.8013 GB, free: 133.4 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001354/1.259, allocations: 60 kB / 0.8014 GB, free: 133.4 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/1.259, allocations: 31.88 kB / 0.8014 GB, free: 133.3 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007302/1.267, allocations: 7.979 MB / 0.8092 GB, free: 125.4 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/1.267, allocations: 1.375 kB / 0.8092 GB, free: 125.4 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.268, allocations: 487.2 kB / 0.8097 GB, free: 124.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.809e-05/1.268, allocations: 8 kB / 0.8097 GB, free: 124.9 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/1.268, allocations: 96 kB / 0.8098 GB, free: 124.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.268, allocations: 8 kB / 0.8098 GB, free: 124.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.268, allocations: 0 / 0.8098 GB, free: 124.8 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.283, allocations: 12.57 MB / 0.822 GB, free: 112.1 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.285, allocations: 1.202 MB / 0.8232 GB, free: 110.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009469/1.286, allocations: 100 kB / 0.8233 GB, free: 110.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006902/1.292, allocations: 2.075 MB / 0.8253 GB, free: 108.7 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009456/1.293, allocations: 0.6442 MB / 0.826 GB, free: 108 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004345/1.294, allocations: 184.9 kB / 0.8261 GB, free: 107.8 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005923/1.3, allocations: 6.023 MB / 0.832 GB, free: 101.8 MB / 0.5923 GB Notification: Performance of sort global known variables: time 1.7e-07/1.3, allocations: 0 / 0.832 GB, free: 101.8 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.004351/1.304, allocations: 2.772 MB / 0.8347 GB, free: 99.04 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.01463/1.319, allocations: 13.36 MB / 0.8478 GB, free: 85.54 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.331, allocations: 10.98 MB / 0.8585 GB, free: 74.5 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.331, allocations: 16.25 kB / 0.8585 GB, free: 74.48 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.005704/1.337, allocations: 5.062 MB / 0.8635 GB, free: 69.4 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00665/1.344, allocations: 1.873 MB / 0.8653 GB, free: 67.52 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1971/1.541, allocations: 124.6 MB / 0.987 GB, free: 15.75 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005352/1.546, allocations: 5.967 MB / 0.9928 GB, free: 9.738 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.006991/1.553, allocations: 3.151 MB / 0.9959 GB, free: 6.582 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00379/1.557, allocations: 2.956 MB / 0.9988 GB, free: 3.621 MB / 0.6704 GB Notification: Performance of SimCode: time 1.663e-06/1.557, allocations: 0 / 0.9988 GB, free: 3.621 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4455/2.003, allocations: 188.8 MB / 1.183 GB, free: 94.95 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/2.003, allocations: 296.3 kB / 1.183 GB, free: 94.57 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.361/7.363, allocations: 0 / 1.183 GB, free: 94.57 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