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.001488/0.001488, allocations: 110.2 kB / 17.06 MB, free: 5.793 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.001429/0.001429, allocations: 197.3 kB / 18.01 MB, free: 4.918 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.098/1.098, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 61.95 kB / 0.5704 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1524, allocations: 80.7 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.01011/0.1625, allocations: 8.036 MB / 0.6571 GB, free: 5.504 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.1661, allocations: 1.501 MB / 0.6585 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1675, allocations: 31.94 kB / 0.6586 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.1691, allocations: 445.4 kB / 0.659 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.1706, allocations: 285.4 kB / 0.6593 GB, free: 3.246 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.1729, allocations: 0.8604 MB / 0.6601 GB, free: 2.387 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.1747, allocations: 1.015 MB / 0.6611 GB, free: 1.367 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.1759, allocations: 0.6402 MB / 0.6617 GB, free: 0.6992 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006928/0.1766, allocations: 418.4 kB / 0.6621 GB, free: 296 kB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009289/0.1775, allocations: 0.572 MB / 0.6627 GB, free: 15.71 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.1778, allocations: 119.9 kB / 0.6628 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000673/0.1785, allocations: 231.9 kB / 0.663 GB, free: 15.37 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.1787, allocations: 243.2 kB / 0.6632 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008403/0.1796, allocations: 0.5599 MB / 0.6638 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.1822, allocations: 1.677 MB / 0.6654 GB, free: 12.89 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1822, allocations: 0 / 0.6654 GB, free: 12.89 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1822, allocations: 0 / 0.6654 GB, free: 12.89 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.988e-05/0.1823, allocations: 0 / 0.6654 GB, free: 12.89 MB / 0.5139 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.005346/0.1876, allocations: 1.817 MB / 0.6672 GB, free: 11.01 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.1877, allocations: 11.89 kB / 0.6672 GB, free: 11 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003001/0.188, allocations: 181.6 kB / 0.6674 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.1882, allocations: 116.2 kB / 0.6675 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009924/0.1892, allocations: 0.5728 MB / 0.6681 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.1893, allocations: 90.73 kB / 0.6681 GB, free: 9.996 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.1895, allocations: 112.4 kB / 0.6683 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.1917, allocations: 1.165 MB / 0.6694 GB, free: 8.664 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.1917, allocations: 3.938 kB / 0.6694 GB, free: 8.66 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1918, allocations: 56 kB / 0.6694 GB, free: 8.605 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.1918, allocations: 28 kB / 0.6695 GB, free: 8.578 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.1935, allocations: 0.8523 MB / 0.6703 GB, free: 7.719 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00654/0.2, allocations: 4.432 MB / 0.6746 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2011, allocations: 0.5356 MB / 0.6752 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.2016, allocations: 302.8 kB / 0.6754 GB, free: 2.281 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.2016, allocations: 12.38 kB / 0.6755 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.2017, allocations: 38.94 kB / 0.6755 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.2017, allocations: 4 kB / 0.6755 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.005662/0.2074, allocations: 1.784 MB / 0.6772 GB, free: 416 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.2074, allocations: 55.84 kB / 0.6773 GB, free: 348 kB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.2081, allocations: 453.8 kB / 0.6777 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.2081, allocations: 33.7 kB / 0.6778 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.2086, allocations: 0.4918 MB / 0.6782 GB, free: 15.35 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.2088, allocations: 194.3 kB / 0.6784 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.209, allocations: 130.6 kB / 0.6785 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2092, allocations: 358.8 kB / 0.6789 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.2095, allocations: 197.9 kB / 0.6791 GB, free: 14.47 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.2101, allocations: 431.6 kB / 0.6795 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/0.2111, allocations: 0.6783 MB / 0.6802 GB, free: 13.17 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.2111, allocations: 4 kB / 0.6802 GB, free: 13.16 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001875/0.213, allocations: 0.9903 MB / 0.6811 GB, free: 12.16 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.213, allocations: 8 kB / 0.6811 GB, free: 12.15 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.213, allocations: 8 kB / 0.6811 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.2141, allocations: 385.3 kB / 0.6815 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.2144, allocations: 87.84 kB / 0.6816 GB, free: 11.68 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.2209, allocations: 4.298 MB / 0.6858 GB, free: 7.238 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.2214, allocations: 83.28 kB / 0.6859 GB, free: 7.156 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.2215, allocations: 39.94 kB / 0.6859 GB, free: 7.117 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.0004495/0.2219, allocations: 262.5 kB / 0.6862 GB, free: 6.852 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2221, allocations: 55.62 kB / 0.6862 GB, free: 6.797 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.2222, allocations: 69.16 kB / 0.6863 GB, free: 6.727 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-06/0.2222, allocations: 8 kB / 0.6863 GB, free: 6.719 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/0.2223, allocations: 4 kB / 0.6863 GB, free: 6.715 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2223, allocations: 3.938 kB / 0.6863 GB, free: 6.711 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.2235, allocations: 0.7981 MB / 0.6871 GB, free: 5.863 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.2235, allocations: 8 kB / 0.6871 GB, free: 5.855 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2237, allocations: 35.92 kB / 0.6871 GB, free: 5.82 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009642/0.2246, allocations: 373 kB / 0.6875 GB, free: 5.453 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.2247, allocations: 12 kB / 0.6875 GB, free: 5.441 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006375/0.2311, allocations: 4.286 MB / 0.6917 GB, free: 1.016 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2311, allocations: 0 / 0.6917 GB, free: 1.016 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.2331, allocations: 1.128 MB / 0.6928 GB, free: 15.87 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.2333, allocations: 132.7 kB / 0.6929 GB, free: 15.72 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.2333, allocations: 12 kB / 0.6929 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.2336, allocations: 8 kB / 0.6929 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2337, allocations: 52.36 kB / 0.693 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.2338, allocations: 12 kB / 0.693 GB, free: 15.64 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0004389/0.2342, allocations: 311.1 kB / 0.6933 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2342, allocations: 0 / 0.6933 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001048/0.2353, allocations: 323.1 kB / 0.6936 GB, free: 15.02 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.002368/0.2376, allocations: 1.699 MB / 0.6952 GB, free: 13.29 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.2394, allocations: 0.8899 MB / 0.6961 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.2394, allocations: 3.938 kB / 0.6961 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2405, allocations: 0.6075 MB / 0.6967 GB, free: 11.77 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.241, allocations: 57.55 kB / 0.6968 GB, free: 11.71 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.251, allocations: 6.261 MB / 0.7029 GB, free: 5.164 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/0.252, allocations: 0.9767 MB / 0.7038 GB, free: 4.16 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.000195/0.2522, allocations: 56.69 kB / 0.7039 GB, free: 4.102 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.2526, allocations: 299.3 kB / 0.7042 GB, free: 3.809 MB / 0.5452 GB Notification: Performance of SimCode: time 7.82e-07/0.2526, allocations: 0 / 0.7042 GB, free: 3.809 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04861/0.3012, allocations: 15.06 MB / 0.7189 GB, free: 4.992 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.79, allocations: 7 kB / 0.7189 GB, free: 4.988 MB / 0.5608 GB (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