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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.023/1.023, allocations: 120.6 MB / 434.5 MB, free: 0.8438 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 66.06 kB / 0.6067 GB, free: 10.95 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1728, allocations: 85.88 MB / 0.6906 GB, free: 4.855 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.004785/0.1775, allocations: 3.654 MB / 0.6942 GB, free: 1.188 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1791, allocations: 0.8948 MB / 0.6951 GB, free: 296 kB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.1792, allocations: 8 kB / 0.6951 GB, free: 288 kB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.1798, allocations: 222.9 kB / 0.6953 GB, free: 64 kB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.18, allocations: 99.11 kB / 0.6954 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1811, allocations: 0.5137 MB / 0.6959 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1822, allocations: 1.085 MB / 0.6969 GB, free: 14.36 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006652/0.1829, allocations: 488.1 kB / 0.6974 GB, free: 13.86 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.1834, allocations: 0.5024 MB / 0.6979 GB, free: 13.35 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.1842, allocations: 0.6226 MB / 0.6985 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.1843, allocations: 112 kB / 0.6986 GB, free: 12.62 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.1848, allocations: 231.9 kB / 0.6988 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.185, allocations: 263.2 kB / 0.6991 GB, free: 12.13 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0006203/0.1857, allocations: 0.5795 MB / 0.6996 GB, free: 11.55 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.1876, allocations: 1.896 MB / 0.7015 GB, free: 9.648 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1876, allocations: 0 / 0.7015 GB, free: 9.648 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1876, allocations: 0 / 0.7015 GB, free: 9.648 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.1876, allocations: 0 / 0.7015 GB, free: 9.648 MB / 0.5295 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.006525/0.1941, allocations: 2.709 MB / 0.7041 GB, free: 6.898 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1942, allocations: 12.03 kB / 0.7042 GB, free: 6.887 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002532/0.1944, allocations: 197.6 kB / 0.7043 GB, free: 6.684 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.1947, allocations: 116.2 kB / 0.7045 GB, free: 6.57 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.1962, allocations: 0.7892 MB / 0.7052 GB, free: 5.754 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.1963, allocations: 90.73 kB / 0.7053 GB, free: 5.664 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.1965, allocations: 120.4 kB / 0.7054 GB, free: 5.547 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.1995, allocations: 1.84 MB / 0.7072 GB, free: 3.648 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.1996, allocations: 3.938 kB / 0.7072 GB, free: 3.645 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.1997, allocations: 52 kB / 0.7073 GB, free: 3.594 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.1997, allocations: 28 kB / 0.7073 GB, free: 3.566 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.2023, allocations: 1.617 MB / 0.7089 GB, free: 1.941 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008319/0.2106, allocations: 5.93 MB / 0.7147 GB, free: 11.85 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.2121, allocations: 0.9619 MB / 0.7156 GB, free: 10.88 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.2128, allocations: 0.514 MB / 0.7161 GB, free: 10.36 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.2128, allocations: 8.375 kB / 0.7161 GB, free: 10.35 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.2129, allocations: 46.92 kB / 0.7162 GB, free: 10.3 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=53): time 3.016e-06/0.2129, allocations: 0 / 0.7162 GB, free: 10.3 MB / 0.5452 GB Notification: Performance of matching and sorting (n=53): time 0.007497/0.2204, allocations: 3.306 MB / 0.7194 GB, free: 6.98 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2204, allocations: 67.77 kB / 0.7195 GB, free: 6.898 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.2212, allocations: 0.6188 MB / 0.7201 GB, free: 6.266 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.2212, allocations: 37.7 kB / 0.7201 GB, free: 6.223 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.2216, allocations: 0.4919 MB / 0.7206 GB, free: 5.723 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2218, allocations: 202.3 kB / 0.7208 GB, free: 5.523 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.222, allocations: 146.6 kB / 0.7209 GB, free: 5.375 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.2222, allocations: 370.8 kB / 0.7213 GB, free: 5.004 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.2227, allocations: 433.7 kB / 0.7217 GB, free: 4.578 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.2235, allocations: 0.6556 MB / 0.7223 GB, free: 3.82 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.2249, allocations: 1.15 MB / 0.7234 GB, free: 2.574 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2249, allocations: 0 / 0.7234 GB, free: 2.574 MB / 0.5452 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002633/0.2276, allocations: 1.696 MB / 0.7251 GB, free: 0.8633 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2276, allocations: 8 kB / 0.7251 GB, free: 0.8555 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2276, allocations: 4 kB / 0.7251 GB, free: 0.8516 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.2289, allocations: 0.5942 MB / 0.7257 GB, free: 260 kB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.2293, allocations: 127.7 kB / 0.7258 GB, free: 132 kB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008975/0.2382, allocations: 6.669 MB / 0.7323 GB, free: 9.34 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.2388, allocations: 191.1 kB / 0.7325 GB, free: 9.152 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.2389, allocations: 32 kB / 0.7325 GB, free: 9.121 MB / 0.5608 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.0006865/0.2395, allocations: 0.4913 MB / 0.733 GB, free: 8.621 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.2396, allocations: 47.67 kB / 0.7331 GB, free: 8.574 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.2399, allocations: 101.2 kB / 0.7332 GB, free: 8.477 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2399, allocations: 4 kB / 0.7332 GB, free: 8.473 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.2399, allocations: 8 kB / 0.7332 GB, free: 8.465 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2399, allocations: 3.938 kB / 0.7332 GB, free: 8.461 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.2411, allocations: 1.02 MB / 0.7342 GB, free: 7.398 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2411, allocations: 0 / 0.7342 GB, free: 7.398 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.2414, allocations: 63.91 kB / 0.7342 GB, free: 7.336 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.2426, allocations: 0.5867 MB / 0.7348 GB, free: 6.746 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.2427, allocations: 16 kB / 0.7348 GB, free: 6.73 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008852/0.2515, allocations: 6.661 MB / 0.7413 GB, free: 15.95 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2515, allocations: 0 / 0.7413 GB, free: 15.95 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.2545, allocations: 2.084 MB / 0.7434 GB, free: 13.84 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2547, allocations: 71.58 kB / 0.7434 GB, free: 13.77 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.2548, allocations: 19.94 kB / 0.7434 GB, free: 13.75 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.2552, allocations: 107.8 kB / 0.7435 GB, free: 13.65 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2553, allocations: 52.33 kB / 0.7436 GB, free: 13.6 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.2553, allocations: 12 kB / 0.7436 GB, free: 13.59 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.0005435/0.2559, allocations: 447 kB / 0.744 GB, free: 13.15 MB / 0.5764 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2559, allocations: 4 kB / 0.744 GB, free: 13.14 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.001075/0.2569, allocations: 355.2 kB / 0.7444 GB, free: 12.8 MB / 0.5764 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.003376/0.2603, allocations: 2.644 MB / 0.747 GB, free: 10.12 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.2627, allocations: 1.408 MB / 0.7483 GB, free: 8.699 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2627, allocations: 0 / 0.7483 GB, free: 8.699 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.264, allocations: 0.8845 MB / 0.7492 GB, free: 7.801 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.2645, allocations: 57.64 kB / 0.7493 GB, free: 7.746 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6053/0.8698, allocations: 9.685 MB / 0.7587 GB, free: 61.13 MB / 0.5767 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/0.8708, allocations: 1.339 MB / 0.76 GB, free: 60.43 MB / 0.5767 GB Notification: Performance of simCode: alias equations: time 0.0005771/0.8714, allocations: 236.4 kB / 0.7602 GB, free: 60.42 MB / 0.5767 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.8718, allocations: 296.5 kB / 0.7605 GB, free: 60.42 MB / 0.5767 GB Notification: Performance of SimCode: time 1.513e-06/0.8718, allocations: 0 / 0.7605 GB, free: 60.42 MB / 0.5767 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05719/0.929, allocations: 20.06 MB / 0.7801 GB, free: 54.61 MB / 0.5767 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.12, allocations: 4.625 kB / 0.7801 GB, free: 54.61 MB / 0.5767 GB " [Timeout remaining time 287] (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 --stepSize=0.001 --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) [Timeout 315.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.097864315845072]