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.001256/0.001256, allocations: 107.3 kB / 17.06 MB, free: 6.016 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.001213/0.001213, allocations: 192 kB / 18 MB, free: 5.102 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.921/0.921, allocations: 119.3 MB / 411.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 62.41 kB / 0.5705 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.142, allocations: 80.69 MB / 0.6493 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.003586/0.1457, allocations: 2.399 MB / 0.6517 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.1467, allocations: 0.5338 MB / 0.6522 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1468, allocations: 4 kB / 0.6522 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.147, allocations: 39.64 kB / 0.6522 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.1471, allocations: 55.42 kB / 0.6523 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1473, allocations: 59.91 kB / 0.6523 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.159, allocations: 13.4 MB / 0.6654 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006553/0.1656, allocations: 5.563 MB / 0.6708 GB, free: 7.383 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006987/0.1726, allocations: 5.279 MB / 0.676 GB, free: 2.09 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00855/0.1812, allocations: 5.417 MB / 0.6813 GB, free: 12.65 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002787/0.184, allocations: 0.9258 MB / 0.6822 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.1877, allocations: 0.9297 MB / 0.6831 GB, free: 10.8 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003536/0.1913, allocations: 2.488 MB / 0.6855 GB, free: 8.301 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.009758/0.2011, allocations: 5.426 MB / 0.6908 GB, free: 2.852 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.2178, allocations: 14.6 MB / 0.7051 GB, free: 4.203 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.2179, allocations: 0 / 0.7051 GB, free: 4.203 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2179, allocations: 0 / 0.7051 GB, free: 4.203 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0005118/0.2184, allocations: 0 / 0.7051 GB, free: 4.203 MB / 0.5452 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.03212/0.2506, allocations: 13.18 MB / 0.718 GB, free: 6.91 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.2506, allocations: 11.89 kB / 0.718 GB, free: 6.898 MB / 0.5608 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003836/0.2545, allocations: 1.199 MB / 0.7191 GB, free: 5.688 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.2579, allocations: 1.088 MB / 0.7202 GB, free: 4.594 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.2693, allocations: 5.634 MB / 0.7257 GB, free: 14.88 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005564/0.2699, allocations: 0.5906 MB / 0.7263 GB, free: 14.28 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.2721, allocations: 0.7699 MB / 0.727 GB, free: 13.51 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02622/0.2983, allocations: 13.12 MB / 0.7399 GB, free: 336 kB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.2985, allocations: 0 / 0.7399 GB, free: 336 kB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/0.3001, allocations: 368 kB / 0.7402 GB, free: 15.96 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/0.3003, allocations: 196 kB / 0.7404 GB, free: 15.77 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/0.3244, allocations: 13.32 MB / 0.7534 GB, free: 2.43 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.604/0.9285, allocations: 38.81 MB / 0.7913 GB, free: 84.05 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/0.9405, allocations: 11.28 MB / 0.8023 GB, free: 79.95 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005851/0.9464, allocations: 5.307 MB / 0.8075 GB, free: 78.26 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.9466, allocations: 65.34 kB / 0.8076 GB, free: 78.25 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.9468, allocations: 152 kB / 0.8077 GB, free: 78.14 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 9.077e-06/0.9468, allocations: 0 / 0.8077 GB, free: 78.14 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.02125/0.9681, allocations: 15.49 MB / 0.8228 GB, free: 68.34 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.9682, allocations: 116.3 kB / 0.823 GB, free: 68.21 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/0.9791, allocations: 8.78 MB / 0.8315 GB, free: 59.46 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.001172/0.9803, allocations: 161.7 kB / 0.8317 GB, free: 59.3 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.00237/0.9827, allocations: 3.794 MB / 0.8354 GB, free: 55.9 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/0.9846, allocations: 2.228 MB / 0.8376 GB, free: 53.92 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002495/0.9871, allocations: 1.415 MB / 0.8389 GB, free: 52.5 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.9872, allocations: 305.1 kB / 0.8392 GB, free: 52.2 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005799/0.993, allocations: 5.089 MB / 0.8442 GB, free: 47.1 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006572/0.9996, allocations: 6.19 MB / 0.8502 GB, free: 40.61 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/1.013, allocations: 10.56 MB / 0.8606 GB, free: 29.7 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/1.013, allocations: 11.98 kB / 0.8606 GB, free: 29.68 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02342/1.037, allocations: 16.91 MB / 0.8771 GB, free: 12.71 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/1.037, allocations: 21.31 kB / 0.8771 GB, free: 12.69 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.702e-05/1.037, allocations: 25.41 kB / 0.8771 GB, free: 12.67 MB / 0.6079 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.288e-05/1.037, allocations: 40.88 kB / 0.8772 GB, free: 12.63 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/1.041, allocations: 1.115 MB / 0.8783 GB, free: 11.51 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.694e-05/1.041, allocations: 59.8 kB / 0.8783 GB, free: 11.45 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007962/1.049, allocations: 1.626 MB / 0.8799 GB, free: 10.02 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/1.05, allocations: 236 kB / 0.8801 GB, free: 9.793 MB / 0.6079 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.005474/1.056, allocations: 3.233 MB / 0.8833 GB, free: 6.562 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00213/1.058, allocations: 0.7573 MB / 0.884 GB, free: 5.801 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/1.06, allocations: 1.119 MB / 0.8851 GB, free: 4.672 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.06, allocations: 60 kB / 0.8852 GB, free: 4.613 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002052/1.06, allocations: 64 kB / 0.8852 GB, free: 4.551 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.503e-05/1.06, allocations: 27.89 kB / 0.8853 GB, free: 4.523 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.073, allocations: 7.988 MB / 0.8931 GB, free: 12.53 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/1.073, allocations: 1.875 kB / 0.8931 GB, free: 12.53 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.075, allocations: 483.3 kB / 0.8935 GB, free: 12.06 MB / 0.6235 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.512e-05/1.075, allocations: 8 kB / 0.8935 GB, free: 12.05 MB / 0.6235 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006511/1.076, allocations: 96 kB / 0.8936 GB, free: 11.96 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/1.076, allocations: 8 kB / 0.8936 GB, free: 11.95 MB / 0.6235 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.076, allocations: 0 / 0.8936 GB, free: 11.95 MB / 0.6235 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02185/1.098, allocations: 12.6 MB / 0.9059 GB, free: 15.23 MB / 0.6392 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003596/1.101, allocations: 1.237 MB / 0.9071 GB, free: 13.97 MB / 0.6392 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/1.104, allocations: 96 kB / 0.9072 GB, free: 13.88 MB / 0.6392 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009577/1.113, allocations: 1.965 MB / 0.9092 GB, free: 11.91 MB / 0.6392 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/1.115, allocations: 0.6403 MB / 0.9098 GB, free: 11.27 MB / 0.6392 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009837/1.116, allocations: 191.9 kB / 0.91 GB, free: 11.08 MB / 0.6392 GB Notification: Performance of sorting global known variables: time 0.01066/1.127, allocations: 6.031 MB / 0.9159 GB, free: 5.047 MB / 0.6392 GB Notification: Performance of sort global known variables: time 6.11e-07/1.127, allocations: 4 kB / 0.9159 GB, free: 5.043 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.008843/1.136, allocations: 2.781 MB / 0.9186 GB, free: 2.258 MB / 0.6392 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.02343/1.159, allocations: 13.37 MB / 0.9316 GB, free: 4.746 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.01941/1.179, allocations: 11.05 MB / 0.9424 GB, free: 9.637 MB / 0.6704 GB Notification: Performance of simCode: created event and clocks part: time 2.133e-05/1.179, allocations: 18 kB / 0.9424 GB, free: 9.617 MB / 0.6704 GB Notification: Performance of simCode: created simulation system equations: time 0.009142/1.188, allocations: 5.06 MB / 0.9474 GB, free: 4.531 MB / 0.6704 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/1.198, allocations: 1.925 MB / 0.9493 GB, free: 2.609 MB / 0.6704 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1587/1.357, allocations: 91.93 MB / 1.039 GB, free: 5.637 MB / 0.7642 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006683/1.364, allocations: 5.959 MB / 1.045 GB, free: 15.63 MB / 0.7798 GB Notification: Performance of simCode: alias equations: time 0.008109/1.372, allocations: 3.159 MB / 1.048 GB, free: 12.46 MB / 0.7798 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005537/1.377, allocations: 2.956 MB / 1.051 GB, free: 9.504 MB / 0.7798 GB Notification: Performance of SimCode: time 1.032e-06/1.377, allocations: 0 / 1.051 GB, free: 9.504 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5198/1.897, allocations: 182.4 MB / 1.229 GB, free: 151.5 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.28/30.17, allocations: 16.12 kB / 1.229 GB, free: 151.5 MB / 0.7954 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches