Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_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.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_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.001132/0.001132, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001005/0.001004, allocations: 198.8 kB / 18.01 MB, free: 5.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.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.033/1.033, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 57.73 kB / 0.5704 GB, free: 40.22 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1572, allocations: 80.71 MB / 0.6492 GB, free: 13.65 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.004905/0.1621, allocations: 3.606 MB / 0.6528 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1639, allocations: 0.8986 MB / 0.6536 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.1642, allocations: 12 kB / 0.6536 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.1649, allocations: 214.9 kB / 0.6538 GB, free: 8.902 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1652, allocations: 103.1 kB / 0.6539 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.1665, allocations: 0.6653 MB / 0.6546 GB, free: 8.133 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.1676, allocations: 1.089 MB / 0.6557 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.1686, allocations: 0.9722 MB / 0.6566 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.1691, allocations: 0.4907 MB / 0.6571 GB, free: 5.547 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.1698, allocations: 0.6227 MB / 0.6577 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.17, allocations: 116 kB / 0.6578 GB, free: 4.809 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.1704, allocations: 235.8 kB / 0.658 GB, free: 4.578 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.1707, allocations: 271.1 kB / 0.6583 GB, free: 4.312 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005969/0.1713, allocations: 0.5834 MB / 0.6589 GB, free: 3.727 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.1731, allocations: 1.888 MB / 0.6607 GB, free: 1.832 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1731, allocations: 0 / 0.6607 GB, free: 1.832 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1731, allocations: 0 / 0.6607 GB, free: 1.832 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.901e-05/0.1731, allocations: 0 / 0.6607 GB, free: 1.832 MB / 0.4983 GB 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.006697/0.1798, allocations: 2.795 MB / 0.6634 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1799, allocations: 8.031 kB / 0.6634 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000248/0.1801, allocations: 193.7 kB / 0.6636 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.1804, allocations: 120.2 kB / 0.6637 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.1818, allocations: 0.8033 MB / 0.6645 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.1819, allocations: 90.73 kB / 0.6646 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.1821, allocations: 116.3 kB / 0.6647 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.1848, allocations: 1.844 MB / 0.6665 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.1848, allocations: 3.938 kB / 0.6665 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.1849, allocations: 48 kB / 0.6666 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.185, allocations: 32 kB / 0.6666 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.1873, allocations: 1.617 MB / 0.6682 GB, free: 9.996 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008413/0.1957, allocations: 5.993 MB / 0.674 GB, free: 3.844 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.1973, allocations: 0.9857 MB / 0.675 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006671/0.198, allocations: 0.5572 MB / 0.6755 GB, free: 2.281 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.1981, allocations: 20.31 kB / 0.6756 GB, free: 2.262 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1981, allocations: 31 kB / 0.6756 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 2.715e-06/0.1981, allocations: 0 / 0.6756 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.007471/0.2056, allocations: 3.414 MB / 0.6789 GB, free: 14.78 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.2057, allocations: 55.84 kB / 0.679 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/0.2064, allocations: 0.6227 MB / 0.6796 GB, free: 14.08 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.2065, allocations: 33.7 kB / 0.6796 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.2068, allocations: 0.4997 MB / 0.6801 GB, free: 13.54 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.207, allocations: 206.3 kB / 0.6803 GB, free: 13.33 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.2072, allocations: 138.6 kB / 0.6804 GB, free: 13.19 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2074, allocations: 370.8 kB / 0.6808 GB, free: 12.82 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.2079, allocations: 429.7 kB / 0.6812 GB, free: 12.4 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.2087, allocations: 0.6518 MB / 0.6818 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.2101, allocations: 1.154 MB / 0.683 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2101, allocations: 0 / 0.683 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002604/0.2127, allocations: 1.716 MB / 0.6846 GB, free: 8.66 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.2128, allocations: 12.09 kB / 0.6847 GB, free: 8.652 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.2128, allocations: 11.94 kB / 0.6847 GB, free: 8.641 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.2141, allocations: 0.602 MB / 0.6852 GB, free: 8.035 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.2145, allocations: 123.7 kB / 0.6854 GB, free: 7.914 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008911/0.2234, allocations: 6.764 MB / 0.692 GB, free: 1.004 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.2242, allocations: 183.1 kB / 0.6921 GB, free: 0.8242 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.2242, allocations: 32 kB / 0.6922 GB, free: 0.793 MB / 0.5295 GB 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.0008261/0.2251, allocations: 0.4983 MB / 0.6927 GB, free: 292 kB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.2252, allocations: 51.67 kB / 0.6927 GB, free: 240 kB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.2254, allocations: 97.22 kB / 0.6928 GB, free: 140 kB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2254, allocations: 4 kB / 0.6928 GB, free: 136 kB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.415e-05/0.2254, allocations: 8 kB / 0.6928 GB, free: 128 kB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2254, allocations: 7.922 kB / 0.6928 GB, free: 120 kB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.2267, allocations: 1.036 MB / 0.6938 GB, free: 15.03 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2267, allocations: 0 / 0.6938 GB, free: 15.03 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.227, allocations: 63.86 kB / 0.6939 GB, free: 14.97 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.2282, allocations: 0.6023 MB / 0.6945 GB, free: 14.36 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.2282, allocations: 12 kB / 0.6945 GB, free: 14.35 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008767/0.237, allocations: 6.764 MB / 0.7011 GB, free: 7.445 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2371, allocations: 4 kB / 0.7011 GB, free: 7.441 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.2402, allocations: 2.096 MB / 0.7032 GB, free: 5.324 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.2405, allocations: 148.7 kB / 0.7033 GB, free: 5.16 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.2405, allocations: 12 kB / 0.7033 GB, free: 5.148 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.241, allocations: 115.8 kB / 0.7034 GB, free: 5.035 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.2411, allocations: 44.36 kB / 0.7035 GB, free: 4.992 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.2411, allocations: 12 kB / 0.7035 GB, free: 4.98 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0005524/0.2417, allocations: 447 kB / 0.7039 GB, free: 4.547 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2417, allocations: 3.938 kB / 0.7039 GB, free: 4.543 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001181/0.2429, allocations: 359.2 kB / 0.7042 GB, free: 4.191 MB / 0.5452 GB 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.003252/0.2461, allocations: 2.678 MB / 0.7069 GB, free: 1.48 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.2489, allocations: 1.448 MB / 0.7083 GB, free: 20 kB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.2489, allocations: 0 / 0.7083 GB, free: 20 kB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.2505, allocations: 0.9082 MB / 0.7092 GB, free: 15.1 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.2511, allocations: 73.23 kB / 0.7092 GB, free: 15.04 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.2645, allocations: 9.728 MB / 0.7187 GB, free: 5.016 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.2656, allocations: 1.344 MB / 0.72 GB, free: 3.645 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.2661, allocations: 240.6 kB / 0.7203 GB, free: 3.406 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.2665, allocations: 291.3 kB / 0.7206 GB, free: 3.121 MB / 0.5608 GB Notification: Performance of SimCode: time 1.252e-06/0.2665, allocations: 0 / 0.7206 GB, free: 3.121 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04937/0.3159, allocations: 19.49 MB / 0.7396 GB, free: 15.87 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.849/10.17, allocations: 19.44 kB / 0.7396 GB, free: 15.86 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_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_DistributionSystemLinear_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches