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.00144/0.00144, 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.001447/0.001447, allocations: 197.3 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.035/1.035, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 66.56 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1509, allocations: 80.7 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.004832/0.1558, allocations: 3.621 MB / 0.6528 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1573, allocations: 0.8986 MB / 0.6536 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1575, allocations: 11.94 kB / 0.6537 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.158, allocations: 210.9 kB / 0.6539 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1582, allocations: 99.17 kB / 0.6539 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1595, allocations: 0.6614 MB / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.1607, allocations: 1.101 MB / 0.6557 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.1618, allocations: 0.9683 MB / 0.6566 GB, free: 5.957 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.1624, allocations: 0.4907 MB / 0.6571 GB, free: 5.465 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.1631, allocations: 0.6266 MB / 0.6577 GB, free: 4.836 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1633, allocations: 112 kB / 0.6578 GB, free: 4.727 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.1638, allocations: 235.8 kB / 0.658 GB, free: 4.496 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.1641, allocations: 259.2 kB / 0.6583 GB, free: 4.242 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.1647, allocations: 0.5872 MB / 0.6589 GB, free: 3.652 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.1667, allocations: 1.892 MB / 0.6607 GB, free: 1.754 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1667, allocations: 0 / 0.6607 GB, free: 1.754 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1667, allocations: 8 kB / 0.6607 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.1667, 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.006583/0.1733, allocations: 2.792 MB / 0.6634 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1733, allocations: 8.031 kB / 0.6634 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002353/0.1736, allocations: 189.7 kB / 0.6636 GB, free: 14.69 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.1738, allocations: 120.2 kB / 0.6637 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.175, allocations: 0.7994 MB / 0.6645 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.1751, allocations: 90.73 kB / 0.6646 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.1753, allocations: 124.3 kB / 0.6647 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.178, allocations: 1.836 MB / 0.6665 GB, free: 11.63 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.1781, allocations: 7.938 kB / 0.6665 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.1782, allocations: 44 kB / 0.6666 GB, free: 11.58 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.1782, allocations: 36 kB / 0.6666 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.1806, allocations: 1.617 MB / 0.6682 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008096/0.1888, allocations: 5.993 MB / 0.674 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.1904, allocations: 0.9896 MB / 0.675 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/0.1912, allocations: 0.5533 MB / 0.6755 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1912, allocations: 12.38 kB / 0.6756 GB, free: 2.191 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1912, allocations: 35 kB / 0.6756 GB, free: 2.148 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.1912, allocations: 0 / 0.6756 GB, free: 2.148 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.007903/0.1992, allocations: 3.407 MB / 0.6789 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.1992, allocations: 59.84 kB / 0.679 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008238/0.2001, allocations: 0.6266 MB / 0.6796 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.2001, allocations: 41.58 kB / 0.6796 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.2005, allocations: 0.4958 MB / 0.6801 GB, free: 13.46 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.2007, allocations: 202.3 kB / 0.6803 GB, free: 13.26 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.2009, allocations: 146.6 kB / 0.6804 GB, free: 13.11 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.2011, allocations: 366.8 kB / 0.6808 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.2017, allocations: 433.7 kB / 0.6812 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.2025, allocations: 0.6517 MB / 0.6818 GB, free: 11.56 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.204, allocations: 1.151 MB / 0.683 GB, free: 10.31 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.204, allocations: 0 / 0.683 GB, free: 10.31 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002726/0.2067, allocations: 1.72 MB / 0.6846 GB, free: 8.578 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.2067, allocations: 10.66 kB / 0.6847 GB, free: 8.57 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2068, allocations: 8 kB / 0.6847 GB, free: 8.562 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.2081, allocations: 0.6022 MB / 0.6853 GB, free: 7.957 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.2085, allocations: 115.8 kB / 0.6854 GB, free: 7.844 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009267/0.2177, allocations: 6.772 MB / 0.692 GB, free: 0.9258 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.2184, allocations: 183.1 kB / 0.6921 GB, free: 0.7461 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.2185, allocations: 28 kB / 0.6922 GB, free: 0.7188 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.0007041/0.2192, allocations: 0.4998 MB / 0.6927 GB, free: 216 kB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/0.2193, allocations: 47.67 kB / 0.6927 GB, free: 168 kB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.2196, allocations: 101.2 kB / 0.6928 GB, free: 64 kB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2196, allocations: 4 kB / 0.6928 GB, free: 60 kB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/0.2196, allocations: 12 kB / 0.6928 GB, free: 48 kB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2196, allocations: 7.922 kB / 0.6928 GB, free: 40 kB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.2209, allocations: 1.044 MB / 0.6938 GB, free: 14.95 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.221, allocations: 3.984 kB / 0.6939 GB, free: 14.94 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.2212, allocations: 63.92 kB / 0.6939 GB, free: 14.88 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.2225, allocations: 0.5789 MB / 0.6945 GB, free: 14.3 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.2225, allocations: 23.92 kB / 0.6945 GB, free: 14.27 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009181/0.2317, allocations: 6.757 MB / 0.7011 GB, free: 7.375 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2318, allocations: 0 / 0.7011 GB, free: 7.375 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.235, allocations: 2.103 MB / 0.7032 GB, free: 5.25 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2352, allocations: 148.7 kB / 0.7033 GB, free: 5.086 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.2353, allocations: 8 kB / 0.7033 GB, free: 5.078 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.2357, allocations: 115.8 kB / 0.7034 GB, free: 4.965 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.2359, allocations: 44.38 kB / 0.7035 GB, free: 4.922 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.2359, allocations: 16 kB / 0.7035 GB, free: 4.906 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0005594/0.2365, allocations: 447 kB / 0.7039 GB, free: 4.473 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2365, allocations: 0 / 0.7039 GB, free: 4.473 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.00109/0.2376, allocations: 363.2 kB / 0.7042 GB, free: 4.117 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.003542/0.2411, allocations: 2.676 MB / 0.7069 GB, free: 1.406 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.002529/0.2437, allocations: 1.448 MB / 0.7083 GB, free: 15.94 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.2437, allocations: 4 kB / 0.7083 GB, free: 15.94 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.2451, allocations: 0.9079 MB / 0.7092 GB, free: 15.02 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.2457, allocations: 65.41 kB / 0.7092 GB, free: 14.96 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.2594, allocations: 9.724 MB / 0.7187 GB, free: 4.949 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.2605, allocations: 1.344 MB / 0.72 GB, free: 3.578 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.0004481/0.2609, allocations: 236.6 kB / 0.7203 GB, free: 3.344 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.2613, allocations: 287.3 kB / 0.7205 GB, free: 3.062 MB / 0.5608 GB Notification: Performance of SimCode: time 8.22e-07/0.2613, allocations: 0 / 0.7205 GB, free: 3.062 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.3149, allocations: 19.52 MB / 0.7396 GB, free: 15.79 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.99, allocations: 8.594 kB / 0.7396 GB, free: 15.78 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