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.001508/0.001508, allocations: 117 kB / 17.06 MB, free: 5.816 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.001486/0.001486, allocations: 193.4 kB / 18.01 MB, free: 4.938 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.015/1.015, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 62.23 kB / 0.5704 GB, free: 40.11 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1537, allocations: 80.7 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.004924/0.1587, allocations: 3.617 MB / 0.6528 GB, free: 9.938 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1603, allocations: 0.8986 MB / 0.6536 GB, free: 9.035 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.1605, allocations: 8 kB / 0.6536 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.1612, allocations: 214.9 kB / 0.6539 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.1614, allocations: 99.11 kB / 0.6539 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1628, allocations: 0.6576 MB / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.1641, allocations: 1.1 MB / 0.6557 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.1653, allocations: 0.9722 MB / 0.6566 GB, free: 5.953 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005847/0.1659, allocations: 0.4907 MB / 0.6571 GB, free: 5.461 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008033/0.1667, allocations: 0.6226 MB / 0.6577 GB, free: 4.836 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.1669, allocations: 116 kB / 0.6578 GB, free: 4.723 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005253/0.1674, allocations: 235.9 kB / 0.658 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.1677, allocations: 259.2 kB / 0.6583 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006988/0.1684, allocations: 0.5834 MB / 0.6589 GB, free: 3.652 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.1705, allocations: 1.9 MB / 0.6607 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1705, allocations: 0 / 0.6607 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1705, allocations: 0 / 0.6607 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.487e-05/0.1705, allocations: 4 kB / 0.6607 GB, free: 1.742 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.006982/0.1775, allocations: 2.788 MB / 0.6634 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1776, allocations: 8.031 kB / 0.6634 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002584/0.1779, allocations: 193.7 kB / 0.6636 GB, free: 14.69 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.1781, allocations: 124.1 kB / 0.6637 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.1793, allocations: 0.8034 MB / 0.6645 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.1794, allocations: 86.73 kB / 0.6646 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.1797, allocations: 120.3 kB / 0.6647 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.1826, allocations: 1.836 MB / 0.6665 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.1826, allocations: 7.938 kB / 0.6665 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.1827, allocations: 44 kB / 0.6666 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.1828, allocations: 28 kB / 0.6666 GB, free: 11.55 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.1855, allocations: 1.625 MB / 0.6682 GB, free: 9.914 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008952/0.1944, allocations: 5.993 MB / 0.674 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.1962, allocations: 0.9857 MB / 0.675 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.1969, allocations: 0.5591 MB / 0.6755 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.197, allocations: 12.38 kB / 0.6756 GB, free: 2.188 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.197, allocations: 35 kB / 0.6756 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 2.825e-06/0.197, allocations: 0 / 0.6756 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.00846/0.2055, allocations: 3.414 MB / 0.6789 GB, free: 14.7 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.2056, allocations: 59.84 kB / 0.679 GB, free: 14.63 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009393/0.2065, allocations: 0.6188 MB / 0.6796 GB, free: 14 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.2066, allocations: 37.64 kB / 0.6796 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.207, allocations: 0.5036 MB / 0.6801 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.2072, allocations: 198.3 kB / 0.6803 GB, free: 13.25 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.2075, allocations: 146.6 kB / 0.6804 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0003439/0.2078, allocations: 366.8 kB / 0.6808 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/0.2085, allocations: 433.7 kB / 0.6812 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/0.2094, allocations: 0.6557 MB / 0.6818 GB, free: 11.55 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.211, allocations: 1.154 MB / 0.683 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.211, allocations: 0 / 0.683 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002769/0.2138, allocations: 1.712 MB / 0.6846 GB, free: 8.574 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2138, allocations: 8.938 kB / 0.6847 GB, free: 8.566 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.2138, allocations: 8 kB / 0.6847 GB, free: 8.559 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.2152, allocations: 0.602 MB / 0.6852 GB, free: 7.953 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.2157, allocations: 123.8 kB / 0.6854 GB, free: 7.832 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00983/0.2255, allocations: 6.768 MB / 0.692 GB, free: 0.918 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.2262, allocations: 183.1 kB / 0.6922 GB, free: 0.7383 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.2263, allocations: 28 kB / 0.6922 GB, free: 0.7109 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.0007746/0.227, allocations: 0.5009 MB / 0.6927 GB, free: 208 kB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2271, allocations: 55.66 kB / 0.6927 GB, free: 152 kB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.2274, allocations: 101.2 kB / 0.6928 GB, free: 48 kB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2274, allocations: 4 kB / 0.6928 GB, free: 44 kB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.383e-05/0.2274, allocations: 8 kB / 0.6928 GB, free: 36 kB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2274, allocations: 7.922 kB / 0.6928 GB, free: 28 kB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.2288, allocations: 1.044 MB / 0.6939 GB, free: 14.93 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2288, allocations: 0 / 0.6939 GB, free: 14.93 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.2291, allocations: 63.91 kB / 0.6939 GB, free: 14.87 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.2303, allocations: 0.5828 MB / 0.6945 GB, free: 14.29 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.2304, allocations: 19.94 kB / 0.6945 GB, free: 14.27 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009507/0.2399, allocations: 6.753 MB / 0.7011 GB, free: 7.371 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2399, allocations: 0 / 0.7011 GB, free: 7.371 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.2433, allocations: 2.103 MB / 0.7032 GB, free: 5.246 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.2435, allocations: 152.7 kB / 0.7033 GB, free: 5.078 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.2436, allocations: 15.98 kB / 0.7033 GB, free: 5.062 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.244, allocations: 107.8 kB / 0.7034 GB, free: 4.957 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2441, allocations: 48.38 kB / 0.7035 GB, free: 4.91 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.2442, allocations: 16 kB / 0.7035 GB, free: 4.895 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0006333/0.2448, allocations: 443 kB / 0.7039 GB, free: 4.465 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2448, allocations: 0 / 0.7039 GB, free: 4.465 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001149/0.246, allocations: 363.2 kB / 0.7042 GB, free: 4.109 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.003628/0.2496, allocations: 2.672 MB / 0.7069 GB, free: 1.406 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.002493/0.2521, allocations: 1.446 MB / 0.7083 GB, free: 15.95 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2521, allocations: 0 / 0.7083 GB, free: 15.95 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.2537, allocations: 0.912 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.0005047/0.2542, allocations: 69.47 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.0141/0.2683, allocations: 9.723 MB / 0.7187 GB, free: 4.945 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.2696, allocations: 1.34 MB / 0.72 GB, free: 3.578 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.0004529/0.27, 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.0004016/0.2704, allocations: 295.3 kB / 0.7205 GB, free: 3.055 MB / 0.5608 GB Notification: Performance of SimCode: time 1.142e-06/0.2705, allocations: 0 / 0.7205 GB, free: 3.055 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0542/0.3247, allocations: 19.51 MB / 0.7396 GB, free: 15.79 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.78, allocations: 15.25 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_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_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.csv","/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