Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.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_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",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.001678/0.001678, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.002026/0.002026, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.444/1.444, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9747/0.9747, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5428, allocations: 80.68 MB / 0.5698 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.003659/0.5465, allocations: 2.393 MB / 0.5722 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.5474, allocations: 0.5308 MB / 0.5727 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.5475, allocations: 3.969 kB / 0.5727 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.5477, allocations: 39.64 kB / 0.5727 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.5478, allocations: 74.47 kB / 0.5728 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.548, allocations: 53.52 kB / 0.5729 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0341/0.5821, allocations: 51.88 MB / 0.6235 GB, free: 10.45 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03902/0.6212, allocations: 22.73 MB / 0.6457 GB, free: 3.598 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03221/0.6534, allocations: 20.57 MB / 0.6658 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03538/0.6889, allocations: 21.11 MB / 0.6864 GB, free: 9.781 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.01573/0.7046, allocations: 3.602 MB / 0.6899 GB, free: 6.18 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02306/0.7277, allocations: 3.602 MB / 0.6935 GB, free: 2.578 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02247/0.7502, allocations: 9.697 MB / 0.7029 GB, free: 8.852 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.05078/0.8011, allocations: 21.17 MB / 0.7236 GB, free: 3.594 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.5544/1.356, allocations: 56.35 MB / 0.7786 GB, free: 100.7 MB / 0.5923 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/1.356, allocations: 2.938 kB / 0.7786 GB, free: 100.7 MB / 0.5923 GB Notification: Performance of FrontEnd: time 1.904e-06/1.356, allocations: 0.625 kB / 0.7786 GB, free: 100.7 MB / 0.5923 GB Notification: Performance of Transformations before backend: time 0.002966/1.359, allocations: 0 / 0.7786 GB, free: 100.7 MB / 0.5923 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.1465/1.505, allocations: 51.1 MB / 0.8285 GB, free: 70.43 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/1.505, allocations: 15.89 kB / 0.8285 GB, free: 70.42 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02915/1.534, allocations: 4.635 MB / 0.8331 GB, free: 65.77 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02341/1.558, allocations: 4.007 MB / 0.837 GB, free: 61.72 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06554/1.623, allocations: 20.85 MB / 0.8573 GB, free: 41.87 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002645/1.626, allocations: 2.313 MB / 0.8596 GB, free: 39.56 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01673/1.643, allocations: 3 MB / 0.8625 GB, free: 36.56 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1301/1.773, allocations: 51.31 MB / 0.9126 GB, free: 1.195 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001566/1.775, allocations: 0 / 0.9126 GB, free: 1.195 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01832/1.793, allocations: 1.402 MB / 0.914 GB, free: 15.81 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008072/1.794, allocations: 0.75 MB / 0.9147 GB, free: 15.06 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1158/1.91, allocations: 52.31 MB / 0.9658 GB, free: 10.72 MB / 0.6704 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7211/2.631, allocations: 154.4 MB / 1.117 GB, free: 156.2 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06802/2.699, allocations: 46.07 MB / 1.162 GB, free: 123 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03411/2.733, allocations: 20.98 MB / 1.182 GB, free: 102 MB / 0.7173 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/2.735, allocations: 247.2 kB / 1.182 GB, free: 101.7 MB / 0.7173 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006209/2.735, allocations: 496.2 kB / 1.183 GB, free: 101.2 MB / 0.7173 GB Notification: Performance of pre-optimization done (n=2460): time 0.0001381/2.736, allocations: 0 / 1.183 GB, free: 101.2 MB / 0.7173 GB Notification: Performance of matching and sorting (n=2460): time 0.1438/2.879, allocations: 60.81 MB / 1.242 GB, free: 41.79 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/2.88, allocations: 302.6 kB / 1.242 GB, free: 41.48 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06884/2.949, allocations: 34.05 MB / 1.276 GB, free: 7.703 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 0.00703/2.956, allocations: 0.5524 MB / 1.276 GB, free: 7.145 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.01602/2.972, allocations: 14.73 MB / 1.291 GB, free: 8.473 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.01282/2.985, allocations: 8.311 MB / 1.299 GB, free: 44 kB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03542/3.02, allocations: 5.49 MB / 1.304 GB, free: 10.54 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 0.0001261/3.02, allocations: 305.1 kB / 1.304 GB, free: 10.23 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4477/3.468, allocations: 19.98 MB / 1.324 GB, free: 230.8 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04535/3.513, allocations: 24.31 MB / 1.348 GB, free: 227.3 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1233/3.637, allocations: 41.48 MB / 1.388 GB, free: 211.8 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002913/3.637, allocations: 28 kB / 1.388 GB, free: 211.8 MB / 0.7485 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1505/3.788, allocations: 66.5 MB / 1.453 GB, free: 152.9 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/3.788, allocations: 44 kB / 1.453 GB, free: 152.8 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002199/3.788, allocations: 88 kB / 1.453 GB, free: 152.7 MB / 0.7485 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0001884/3.788, allocations: 164 kB / 1.453 GB, free: 152.6 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01947/3.808, allocations: 4.555 MB / 1.458 GB, free: 148 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003697/3.808, allocations: 223.3 kB / 1.458 GB, free: 147.8 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04352/3.852, allocations: 6.879 MB / 1.465 GB, free: 141.2 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007807/3.859, allocations: 0.9178 MB / 1.466 GB, free: 140.3 MB / 0.7485 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * 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 (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.03125/3.891, allocations: 12.36 MB / 1.478 GB, free: 127.9 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01491/3.906, allocations: 2.816 MB / 1.481 GB, free: 125.1 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/3.918, allocations: 4.375 MB / 1.485 GB, free: 120.7 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001346/3.918, allocations: 232 kB / 1.485 GB, free: 120.5 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006981/3.919, allocations: 232 kB / 1.485 GB, free: 120.2 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004099/3.919, allocations: 116.6 kB / 1.485 GB, free: 120.1 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06275/3.982, allocations: 30.95 MB / 1.516 GB, free: 89.16 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001354/3.982, allocations: 4 kB / 1.516 GB, free: 89.16 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007953/3.99, allocations: 1.908 MB / 1.517 GB, free: 87.25 MB / 0.7485 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 9.056e-05/3.99, allocations: 24 kB / 1.517 GB, free: 87.23 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00435/3.995, allocations: 384 kB / 1.518 GB, free: 86.85 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.767e-05/3.995, allocations: 29.94 kB / 1.518 GB, free: 86.82 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/3.995, allocations: 4 kB / 1.518 GB, free: 86.82 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1072/4.102, allocations: 49.2 MB / 1.566 GB, free: 37.5 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01388/4.116, allocations: 4.483 MB / 1.57 GB, free: 32.96 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01357/4.129, allocations: 384 kB / 1.571 GB, free: 32.59 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04222/4.172, allocations: 8.497 MB / 1.579 GB, free: 24.08 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008614/4.18, allocations: 2.498 MB / 1.581 GB, free: 21.57 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009141/4.189, allocations: 0.7031 MB / 1.582 GB, free: 20.87 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.4409/4.63, allocations: 23.44 MB / 1.605 GB, free: 220.9 MB / 0.7485 GB Notification: Performance of sort global known variables: time 8.81e-07/4.63, allocations: 0 / 1.605 GB, free: 220.9 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.04542/4.676, allocations: 10.83 MB / 1.616 GB, free: 219.8 MB / 0.7485 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1259/4.802, allocations: 50.73 MB / 1.665 GB, free: 204.3 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.7893/5.591, allocations: 287.9 MB / 1.946 GB, free: 221.5 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 7.692e-05/5.591, allocations: 58.42 kB / 1.946 GB, free: 221.4 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.04383/5.635, allocations: 19.57 MB / 1.965 GB, free: 205.1 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05709/5.692, allocations: 7.628 MB / 1.973 GB, free: 198.9 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.738/7.431, allocations: 0.8361 GB / 2.809 GB, free: 2.773 MB / 0.8735 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4038/7.835, allocations: 21.39 MB / 2.83 GB, free: 348 MB / 0.8735 GB Notification: Performance of simCode: alias equations: time 0.05184/7.886, allocations: 13.58 MB / 2.843 GB, free: 346.7 MB / 0.8735 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02537/7.912, allocations: 12.88 MB / 2.856 GB, free: 338.4 MB / 0.8735 GB Notification: Performance of SimCode: time 8.21e-07/7.912, allocations: 0 / 2.856 GB, free: 338.4 MB / 0.8735 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.589/9.501, allocations: 0.6842 GB / 3.54 GB, free: 196.4 MB / 0.8735 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.92/38.42, allocations: 11.95 kB / 3.54 GB, free: 196.4 MB / 0.8735 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches