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.001169/0.001169, allocations: 107.1 kB / 17.06 MB, free: 6.117 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.001149/0.001149, allocations: 195 kB / 18 MB, free: 5.191 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.317/1.317, 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 0.9303/0.9303, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 58.53 kB / 0.5704 GB, free: 40.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1732, allocations: 80.71 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.004832/0.1781, allocations: 3.617 MB / 0.6528 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1799, allocations: 0.8986 MB / 0.6536 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/0.1803, allocations: 12 kB / 0.6537 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007493/0.1812, allocations: 206.9 kB / 0.6538 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004234/0.1816, allocations: 95.11 kB / 0.6539 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.183, allocations: 0.6732 MB / 0.6546 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1843, allocations: 1.093 MB / 0.6557 GB, free: 6.938 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1855, allocations: 0.9631 MB / 0.6566 GB, free: 5.949 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006124/0.1861, allocations: 0.4945 MB / 0.6571 GB, free: 5.453 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009944/0.1871, allocations: 0.6265 MB / 0.6577 GB, free: 4.824 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.1875, allocations: 116 kB / 0.6578 GB, free: 4.711 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007516/0.1882, allocations: 227.9 kB / 0.658 GB, free: 4.488 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.1886, allocations: 267.2 kB / 0.6583 GB, free: 4.227 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.1898, allocations: 0.5834 MB / 0.6589 GB, free: 3.641 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.1922, allocations: 1.89 MB / 0.6607 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1922, allocations: 0 / 0.6607 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1922, allocations: 0 / 0.6607 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.419e-05/0.1923, allocations: 0 / 0.6607 GB, free: 1.746 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.007495/0.1998, allocations: 2.77 MB / 0.6634 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1998, allocations: 12.03 kB / 0.6634 GB, free: 14.91 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004593/0.2003, allocations: 197.6 kB / 0.6636 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.2006, allocations: 107.6 kB / 0.6637 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.2023, allocations: 0.8031 MB / 0.6645 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.2024, allocations: 86.73 kB / 0.6646 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.2026, allocations: 116.4 kB / 0.6647 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.2054, allocations: 1.84 MB / 0.6665 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.2055, allocations: 3.938 kB / 0.6665 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.2056, allocations: 48 kB / 0.6665 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.2056, allocations: 28 kB / 0.6666 GB, free: 11.58 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.208, allocations: 1.621 MB / 0.6681 GB, free: 9.949 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008612/0.2166, allocations: 5.98 MB / 0.674 GB, free: 3.809 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.2181, allocations: 0.9933 MB / 0.6749 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.2188, allocations: 0.5572 MB / 0.6755 GB, free: 2.242 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.2189, allocations: 8.375 kB / 0.6755 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.2189, allocations: 39 kB / 0.6755 GB, free: 2.188 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 3.567e-06/0.2189, allocations: 0 / 0.6755 GB, free: 2.188 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.007798/0.2267, allocations: 3.414 MB / 0.6789 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.2268, allocations: 59.84 kB / 0.6789 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008994/0.2278, allocations: 0.6187 MB / 0.6795 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.2278, allocations: 33.7 kB / 0.6796 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.2282, allocations: 0.498 MB / 0.6801 GB, free: 13.5 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.2284, allocations: 185.4 kB / 0.6802 GB, free: 13.32 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.2286, allocations: 146.6 kB / 0.6804 GB, free: 13.16 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2288, allocations: 370.8 kB / 0.6807 GB, free: 12.79 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.2294, allocations: 425.7 kB / 0.6811 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/0.2301, allocations: 0.6557 MB / 0.6818 GB, free: 11.62 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.2315, allocations: 1.154 MB / 0.6829 GB, free: 10.37 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.2315, allocations: 4 kB / 0.6829 GB, free: 10.36 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002672/0.2342, allocations: 1.712 MB / 0.6846 GB, free: 8.637 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.2342, allocations: 8 kB / 0.6846 GB, free: 8.629 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.2342, allocations: 8.875 kB / 0.6846 GB, free: 8.621 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.2356, allocations: 0.5981 MB / 0.6852 GB, free: 8.02 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.236, allocations: 123.8 kB / 0.6853 GB, free: 7.898 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008863/0.2448, allocations: 6.763 MB / 0.6919 GB, free: 0.9883 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.2456, allocations: 179 kB / 0.6921 GB, free: 0.8125 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.2457, allocations: 28.16 kB / 0.6921 GB, free: 0.7852 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.000703/0.2464, allocations: 0.4925 MB / 0.6926 GB, free: 292 kB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.2465, allocations: 51.34 kB / 0.6926 GB, free: 240 kB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.2467, allocations: 105.2 kB / 0.6927 GB, free: 132 kB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2467, allocations: 4 kB / 0.6927 GB, free: 128 kB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.2468, allocations: 8 kB / 0.6927 GB, free: 120 kB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2468, allocations: 3.938 kB / 0.6927 GB, free: 116 kB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.2482, allocations: 1.044 MB / 0.6938 GB, free: 15.02 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.2482, allocations: 0 / 0.6938 GB, free: 15.02 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.2484, allocations: 59.92 kB / 0.6938 GB, free: 14.96 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.2497, allocations: 0.5906 MB / 0.6944 GB, free: 14.37 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.2497, allocations: 11.98 kB / 0.6944 GB, free: 14.36 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008691/0.2584, allocations: 6.76 MB / 0.701 GB, free: 7.453 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2585, allocations: 0 / 0.701 GB, free: 7.453 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.2614, allocations: 2.099 MB / 0.7031 GB, free: 5.332 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.2617, allocations: 152.4 kB / 0.7032 GB, free: 5.164 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/0.2618, allocations: 12 kB / 0.7032 GB, free: 5.152 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.2623, allocations: 111.8 kB / 0.7033 GB, free: 5.043 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2624, allocations: 40.38 kB / 0.7034 GB, free: 5.004 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.2625, allocations: 16 kB / 0.7034 GB, free: 4.988 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.000544/0.263, allocations: 443 kB / 0.7038 GB, free: 4.559 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.11e-07/0.263, allocations: 0 / 0.7038 GB, free: 4.559 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001131/0.2642, allocations: 358.9 kB / 0.7041 GB, free: 4.207 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.003202/0.2674, allocations: 2.684 MB / 0.7068 GB, free: 1.488 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.2697, allocations: 1.436 MB / 0.7082 GB, free: 40 kB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2697, allocations: 0 / 0.7082 GB, free: 40 kB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.2711, allocations: 0.9042 MB / 0.709 GB, free: 15.12 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.2717, allocations: 65.53 kB / 0.7091 GB, free: 15.06 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.2846, allocations: 9.694 MB / 0.7186 GB, free: 5.078 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.2857, allocations: 1.351 MB / 0.7199 GB, free: 3.699 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.0004197/0.2862, allocations: 236.6 kB / 0.7201 GB, free: 3.465 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.2866, allocations: 295.3 kB / 0.7204 GB, free: 3.176 MB / 0.5608 GB Notification: Performance of SimCode: time 1.192e-06/0.2866, allocations: 0 / 0.7204 GB, free: 3.176 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04905/0.3356, allocations: 19.79 MB / 0.7397 GB, free: 15.62 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.92, allocations: 11.44 kB / 0.7397 GB, free: 15.61 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/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