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.001192/0.001192, allocations: 105.8 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.001028/0.001028, allocations: 195 kB / 18 MB, free: 5.094 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.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.017/1.017, allocations: 119.3 MB / 411.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 66.92 kB / 0.5704 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1605, allocations: 80.69 MB / 0.6492 GB, free: 13.74 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.009124/0.1697, allocations: 8.04 MB / 0.6571 GB, free: 5.668 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.1729, allocations: 1.49 MB / 0.6585 GB, free: 4.172 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.174, allocations: 31.94 kB / 0.6585 GB, free: 4.141 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.1752, allocations: 449.4 kB / 0.659 GB, free: 3.699 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.1759, allocations: 285.4 kB / 0.6592 GB, free: 3.418 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1775, allocations: 0.8644 MB / 0.6601 GB, free: 2.551 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009298/0.1784, allocations: 1.022 MB / 0.6611 GB, free: 1.527 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.1791, allocations: 0.635 MB / 0.6617 GB, free: 0.8672 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.1794, allocations: 422.4 kB / 0.6621 GB, free: 464 kB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005858/0.18, allocations: 0.5681 MB / 0.6627 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1802, allocations: 119.9 kB / 0.6628 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.1806, allocations: 235.8 kB / 0.663 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.1807, allocations: 235.2 kB / 0.6632 GB, free: 15.3 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.1811, allocations: 0.5599 MB / 0.6638 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1826, allocations: 1.679 MB / 0.6654 GB, free: 13.06 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1826, allocations: 0 / 0.6654 GB, free: 13.06 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1826, allocations: 0 / 0.6654 GB, free: 13.06 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.1826, allocations: 0 / 0.6654 GB, free: 13.06 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.004264/0.1869, allocations: 1.795 MB / 0.6672 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1869, allocations: 11.89 kB / 0.6672 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.1871, allocations: 169.7 kB / 0.6673 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1873, allocations: 115.6 kB / 0.6675 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.188, allocations: 0.5688 MB / 0.668 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.1881, allocations: 86.73 kB / 0.6681 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.1882, allocations: 116.4 kB / 0.6682 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.1898, allocations: 1.161 MB / 0.6693 GB, free: 8.879 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.1899, allocations: 7.875 kB / 0.6693 GB, free: 8.871 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/0.19, allocations: 48 kB / 0.6694 GB, free: 8.824 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.19, allocations: 28 kB / 0.6694 GB, free: 8.797 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.1912, allocations: 0.8601 MB / 0.6703 GB, free: 7.93 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.196, allocations: 4.423 MB / 0.6746 GB, free: 3.348 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.1969, allocations: 0.5356 MB / 0.6751 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.1972, allocations: 302.8 kB / 0.6754 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.1973, allocations: 8.375 kB / 0.6754 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1973, allocations: 42.98 kB / 0.6754 GB, free: 2.438 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 1.603e-06/0.1973, allocations: 0 / 0.6754 GB, free: 2.438 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.005055/0.2024, allocations: 1.776 MB / 0.6772 GB, free: 0.6367 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.2024, allocations: 59.84 kB / 0.6772 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.2029, allocations: 453.8 kB / 0.6777 GB, free: 120 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.2029, allocations: 37.7 kB / 0.6777 GB, free: 76 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.2032, allocations: 486 kB / 0.6782 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.2033, allocations: 185.3 kB / 0.6783 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.2035, allocations: 126.6 kB / 0.6785 GB, free: 15.27 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2036, allocations: 366.8 kB / 0.6788 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.2039, allocations: 197.9 kB / 0.679 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.2043, allocations: 427.6 kB / 0.6794 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007566/0.2051, allocations: 0.6823 MB / 0.6801 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2051, allocations: 0 / 0.6801 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001505/0.2066, allocations: 0.998 MB / 0.681 GB, free: 12.4 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2066, allocations: 8 kB / 0.6811 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2067, allocations: 4 kB / 0.6811 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009345/0.2076, allocations: 389.1 kB / 0.6814 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.2079, allocations: 83.83 kB / 0.6815 GB, free: 11.92 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005467/0.2133, allocations: 4.293 MB / 0.6857 GB, free: 7.484 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.2138, allocations: 83.09 kB / 0.6858 GB, free: 7.402 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.2138, allocations: 28 kB / 0.6858 GB, free: 7.375 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.0004358/0.2143, allocations: 262.5 kB / 0.6861 GB, free: 7.109 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2144, allocations: 51.34 kB / 0.6861 GB, free: 7.059 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.2145, allocations: 69.22 kB / 0.6862 GB, free: 6.988 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2145, allocations: 4 kB / 0.6862 GB, free: 6.984 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.171e-05/0.2146, allocations: 8 kB / 0.6862 GB, free: 6.977 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2146, allocations: 7.922 kB / 0.6862 GB, free: 6.969 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.2155, allocations: 0.7941 MB / 0.687 GB, free: 6.125 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2155, allocations: 0 / 0.687 GB, free: 6.125 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.2157, allocations: 31.92 kB / 0.687 GB, free: 6.094 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008674/0.2166, allocations: 377 kB / 0.6874 GB, free: 5.723 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.2166, allocations: 8 kB / 0.6874 GB, free: 5.715 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005639/0.2223, allocations: 4.286 MB / 0.6916 GB, free: 1.289 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2223, allocations: 0 / 0.6916 GB, free: 1.289 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.2241, allocations: 1.124 MB / 0.6926 GB, free: 152 kB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.2243, allocations: 136.4 kB / 0.6928 GB, free: 15.99 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.2244, allocations: 8 kB / 0.6928 GB, free: 15.98 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2246, allocations: 8 kB / 0.6928 GB, free: 15.98 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.2247, allocations: 48.31 kB / 0.6928 GB, free: 15.93 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2247, allocations: 12 kB / 0.6929 GB, free: 15.92 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0004042/0.2251, allocations: 319.1 kB / 0.6932 GB, free: 15.61 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2252, allocations: 0 / 0.6932 GB, free: 15.61 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0011/0.2263, allocations: 310.9 kB / 0.6935 GB, free: 15.31 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.00211/0.2284, allocations: 1.704 MB / 0.6951 GB, free: 13.57 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.2298, allocations: 0.8898 MB / 0.696 GB, free: 12.67 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2298, allocations: 0 / 0.696 GB, free: 12.67 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.2307, allocations: 0.5923 MB / 0.6966 GB, free: 12.06 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.2311, allocations: 63.36 kB / 0.6966 GB, free: 12 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/0.2389, allocations: 6.254 MB / 0.7027 GB, free: 5.465 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.2394, allocations: 0.9728 MB / 0.7037 GB, free: 4.465 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.00014/0.2396, allocations: 48.78 kB / 0.7037 GB, free: 4.414 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.2399, allocations: 295.3 kB / 0.704 GB, free: 4.125 MB / 0.5452 GB Notification: Performance of SimCode: time 3.91e-07/0.2399, allocations: 0 / 0.704 GB, free: 4.125 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.2779, allocations: 15.39 MB / 0.719 GB, free: 4.992 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.77, allocations: 4.812 kB / 0.719 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/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