Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.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.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",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.00128/0.00128, allocations: 106.5 kB / 16.92 MB, free: 5.781 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.001174/0.001174, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.358/1.358, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9455/0.9455, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.89 kB / 0.491 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5107, allocations: 80.69 MB / 0.5698 GB, free: 43.31 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.006493/0.5172, allocations: 8.03 MB / 0.5777 GB, free: 36.84 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.5202, allocations: 1.491 MB / 0.5791 GB, free: 35.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007386/0.521, allocations: 28.19 kB / 0.5792 GB, free: 35.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.522, allocations: 457.7 kB / 0.5796 GB, free: 35.28 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007486/0.5228, allocations: 284.6 kB / 0.5799 GB, free: 35.02 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.5241, allocations: 0.8648 MB / 0.5807 GB, free: 34.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.5252, allocations: 1.001 MB / 0.5817 GB, free: 33.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007032/0.5259, allocations: 0.634 MB / 0.5823 GB, free: 33.42 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.5263, allocations: 417.8 kB / 0.5827 GB, free: 33.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.5269, allocations: 0.5728 MB / 0.5833 GB, free: 32.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.5271, allocations: 115.9 kB / 0.5834 GB, free: 32.79 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.5276, allocations: 237.1 kB / 0.5836 GB, free: 32.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.5277, allocations: 233.5 kB / 0.5838 GB, free: 32.53 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.5281, allocations: 0.56 MB / 0.5844 GB, free: 32.13 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.5294, allocations: 1.647 MB / 0.586 GB, free: 30.86 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5294, allocations: 0 / 0.586 GB, free: 30.86 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5294, allocations: 4 kB / 0.586 GB, free: 30.85 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.5294, allocations: 0 / 0.586 GB, free: 30.85 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004314/0.5338, allocations: 1.792 MB / 0.5877 GB, free: 29.59 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.5338, allocations: 14.3 kB / 0.5878 GB, free: 29.59 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.534, allocations: 179.3 kB / 0.5879 GB, free: 29.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.5342, allocations: 109.9 kB / 0.588 GB, free: 29.38 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.5348, allocations: 0.5648 MB / 0.5886 GB, free: 28.86 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.5349, allocations: 90.17 kB / 0.5887 GB, free: 28.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.5351, allocations: 122.1 kB / 0.5888 GB, free: 28.78 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.5366, allocations: 1.157 MB / 0.5899 GB, free: 28.04 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.5366, allocations: 7.875 kB / 0.5899 GB, free: 28.03 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.5367, allocations: 47.34 kB / 0.59 GB, free: 28 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.5368, allocations: 28.56 kB / 0.59 GB, free: 28 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.538, allocations: 0.8624 MB / 0.5908 GB, free: 27.56 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.5422, allocations: 4.467 MB / 0.5952 GB, free: 23.2 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.543, allocations: 0.5355 MB / 0.5957 GB, free: 22.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.5433, allocations: 312.9 kB / 0.596 GB, free: 22.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.5433, allocations: 12.38 kB / 0.596 GB, free: 22.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.5434, allocations: 42.94 kB / 0.5961 GB, free: 22.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 2.856e-06/0.5434, allocations: 0 / 0.5961 GB, free: 22.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.004449/0.5478, allocations: 1.776 MB / 0.5978 GB, free: 20.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.5479, allocations: 55.84 kB / 0.5979 GB, free: 20.41 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.5483, allocations: 457.7 kB / 0.5983 GB, free: 19.96 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5483, allocations: 33.7 kB / 0.5983 GB, free: 19.92 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.5485, allocations: 490.1 kB / 0.5988 GB, free: 19.43 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.5486, allocations: 193.2 kB / 0.599 GB, free: 19.24 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.5487, allocations: 126.6 kB / 0.5991 GB, free: 19.11 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.5488, allocations: 354.8 kB / 0.5994 GB, free: 18.75 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.5491, allocations: 201.9 kB / 0.5996 GB, free: 18.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.5494, allocations: 435.6 kB / 0.6001 GB, free: 18.03 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.5499, allocations: 0.6705 MB / 0.6007 GB, free: 17.26 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.55, allocations: 4 kB / 0.6007 GB, free: 17.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001253/0.5512, allocations: 0.9901 MB / 0.6017 GB, free: 16.25 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5512, allocations: 8 kB / 0.6017 GB, free: 16.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5513, allocations: 8.875 kB / 0.6017 GB, free: 16.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000828/0.5521, allocations: 388.7 kB / 0.6021 GB, free: 15.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.5523, allocations: 87.84 kB / 0.6021 GB, free: 15.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.5565, allocations: 4.301 MB / 0.6063 GB, free: 11.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.557, allocations: 79.06 kB / 0.6064 GB, free: 11.24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.557, allocations: 28 kB / 0.6065 GB, free: 11.21 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (load_2_2.controller.local_reset,load_2_1.controller.local_reset,load_1_2.controller.local_reset,load_1_1.controller.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,30,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003156/0.5574, allocations: 268.2 kB / 0.6067 GB, free: 10.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.5574, allocations: 47.44 kB / 0.6068 GB, free: 10.9 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.5575, allocations: 65.23 kB / 0.6068 GB, free: 10.84 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5575, allocations: 8 kB / 0.6068 GB, free: 10.83 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/0.5576, allocations: 8 kB / 0.6068 GB, free: 10.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5576, allocations: 7.922 kB / 0.6068 GB, free: 10.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.5582, allocations: 0.7941 MB / 0.6076 GB, free: 9.969 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5582, allocations: 4 kB / 0.6076 GB, free: 9.965 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.5584, allocations: 27.92 kB / 0.6076 GB, free: 9.938 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007337/0.5591, allocations: 376.7 kB / 0.608 GB, free: 9.566 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.5592, allocations: 8 kB / 0.608 GB, free: 9.559 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004095/0.5633, allocations: 4.294 MB / 0.6122 GB, free: 5.121 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5633, allocations: 3.938 kB / 0.6122 GB, free: 5.117 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.5648, allocations: 1.127 MB / 0.6133 GB, free: 3.965 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.5649, allocations: 132.4 kB / 0.6134 GB, free: 3.816 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.5649, allocations: 12 kB / 0.6134 GB, free: 3.805 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.5652, allocations: 12 kB / 0.6135 GB, free: 3.793 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.5653, allocations: 40.47 kB / 0.6135 GB, free: 3.754 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.5653, allocations: 15.98 kB / 0.6135 GB, free: 3.738 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002617/0.5656, allocations: 315.1 kB / 0.6138 GB, free: 3.438 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5656, allocations: 3.938 kB / 0.6138 GB, free: 3.434 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000947/0.5665, allocations: 318.8 kB / 0.6141 GB, free: 3.121 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load_1_1.controller.y,load_1_2.controller.y,load_2_1.controller.y,load_2_2.controller.y) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,30,77.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/0.5681, allocations: 1.696 MB / 0.6158 GB, free: 1.387 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.5695, allocations: 0.9053 MB / 0.6167 GB, free: 484 kB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5695, allocations: 0 / 0.6167 GB, free: 484 kB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007771/0.5703, allocations: 0.5884 MB / 0.6172 GB, free: 15.87 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.5709, allocations: 63.03 kB / 0.6173 GB, free: 15.81 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5815, allocations: 6.44 MB / 0.6236 GB, free: 9.086 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.5822, allocations: 0.9728 MB / 0.6245 GB, free: 8.086 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.5824, allocations: 44.78 kB / 0.6246 GB, free: 8.039 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.5828, allocations: 295.3 kB / 0.6249 GB, free: 7.75 MB / 478.3 MB Notification: Performance of SimCode: time 1.373e-06/0.5828, allocations: 0 / 0.6249 GB, free: 7.75 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/0.6299, allocations: 14.72 MB / 0.6392 GB, free: 9.266 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.978/10.61, allocations: 4.812 kB / 0.6392 GB, free: 9.262 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_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_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches