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.001582/0.001582, allocations: 111.8 kB / 17.06 MB, free: 6.004 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.001762/0.001762, allocations: 198.9 kB / 18 MB, free: 5.082 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.338/1.338, 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/1, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.81 kB / 0.5704 GB, free: 40.11 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1623, 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.004844/0.1672, allocations: 3.613 MB / 0.6528 GB, free: 9.938 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1688, allocations: 0.8986 MB / 0.6536 GB, free: 9.035 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.1692, allocations: 8 kB / 0.6536 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007565/0.17, allocations: 222.8 kB / 0.6539 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.1704, allocations: 91.17 kB / 0.6539 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.1719, allocations: 0.6615 MB / 0.6546 GB, free: 8.055 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.1733, allocations: 1.097 MB / 0.6557 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.1744, allocations: 0.9709 MB / 0.6566 GB, free: 5.957 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000602/0.1751, allocations: 0.4984 MB / 0.6571 GB, free: 5.457 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009828/0.176, allocations: 0.6188 MB / 0.6577 GB, free: 4.836 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.1764, allocations: 112 kB / 0.6578 GB, free: 4.727 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.177, allocations: 231.8 kB / 0.658 GB, free: 4.5 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.1773, allocations: 267.2 kB / 0.6583 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006197/0.1779, allocations: 0.5873 MB / 0.6589 GB, free: 3.648 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.1795, allocations: 1.882 MB / 0.6607 GB, free: 1.762 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1795, allocations: 3.984 kB / 0.6607 GB, free: 1.758 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1795, allocations: 7.938 kB / 0.6607 GB, free: 1.75 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.1795, allocations: 0 / 0.6607 GB, free: 1.75 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.006144/0.1857, allocations: 2.766 MB / 0.6634 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.1858, allocations: 8.031 kB / 0.6634 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/0.186, allocations: 193.7 kB / 0.6636 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.1862, allocations: 111.6 kB / 0.6637 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.1874, allocations: 0.7992 MB / 0.6645 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.1874, allocations: 90.73 kB / 0.6646 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.1876, allocations: 120.3 kB / 0.6647 GB, free: 13.56 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.1901, allocations: 1.836 MB / 0.6665 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.1901, allocations: 3.938 kB / 0.6665 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1902, allocations: 52 kB / 0.6665 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.1903, allocations: 32 kB / 0.6666 GB, free: 11.58 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.1924, allocations: 1.617 MB / 0.6681 GB, free: 9.957 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007161/0.1996, allocations: 5.98 MB / 0.674 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.2011, allocations: 0.9857 MB / 0.6749 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.2017, allocations: 0.5611 MB / 0.6755 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.2017, allocations: 8.375 kB / 0.6755 GB, free: 2.242 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2018, allocations: 35 kB / 0.6755 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/0.2018, allocations: 4 kB / 0.6755 GB, free: 2.195 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.00701/0.2088, allocations: 3.41 MB / 0.6789 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.2088, allocations: 55.84 kB / 0.6789 GB, free: 14.69 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.2096, allocations: 0.6188 MB / 0.6795 GB, free: 14.06 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.2096, allocations: 37.7 kB / 0.6796 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.2099, allocations: 498 kB / 0.68 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.2101, allocations: 193.3 kB / 0.6802 GB, free: 13.33 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.2103, allocations: 142.6 kB / 0.6804 GB, free: 13.18 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2104, allocations: 370.8 kB / 0.6807 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.2109, allocations: 433.7 kB / 0.6811 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.2116, allocations: 0.6479 MB / 0.6818 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.2128, allocations: 1.154 MB / 0.6829 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.2128, allocations: 0 / 0.6829 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002391/0.2152, allocations: 1.72 MB / 0.6846 GB, free: 8.652 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2153, allocations: 11.12 kB / 0.6846 GB, free: 8.645 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2153, allocations: 8 kB / 0.6846 GB, free: 8.637 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.2165, allocations: 0.5983 MB / 0.6852 GB, free: 8.035 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.2169, allocations: 123.8 kB / 0.6853 GB, free: 7.914 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007952/0.2248, allocations: 6.775 MB / 0.6919 GB, free: 0.9922 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.2254, allocations: 175 kB / 0.6921 GB, free: 0.8203 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.2254, allocations: 32 kB / 0.6921 GB, free: 0.7891 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.0006425/0.2261, allocations: 0.4927 MB / 0.6926 GB, free: 296 kB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.2262, allocations: 51.34 kB / 0.6926 GB, free: 244 kB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.2264, allocations: 93.23 kB / 0.6927 GB, free: 148 kB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2264, allocations: 8 kB / 0.6927 GB, free: 140 kB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.907e-05/0.2264, allocations: 8 kB / 0.6927 GB, free: 132 kB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.2264, allocations: 7.922 kB / 0.6927 GB, free: 124 kB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.2276, allocations: 1.04 MB / 0.6938 GB, free: 15.03 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2276, allocations: 0 / 0.6938 GB, free: 15.03 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.2278, allocations: 71.84 kB / 0.6938 GB, free: 14.96 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.229, allocations: 0.5828 MB / 0.6944 GB, free: 14.38 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.229, allocations: 12 kB / 0.6944 GB, free: 14.36 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008137/0.2371, allocations: 6.755 MB / 0.701 GB, free: 7.465 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2372, allocations: 4 kB / 0.701 GB, free: 7.461 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.24, allocations: 2.087 MB / 0.703 GB, free: 5.352 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.2402, allocations: 148.4 kB / 0.7032 GB, free: 5.188 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/0.2403, allocations: 15.98 kB / 0.7032 GB, free: 5.172 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.2407, allocations: 111.8 kB / 0.7033 GB, free: 5.062 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2408, allocations: 48.3 kB / 0.7034 GB, free: 5.016 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.2408, allocations: 20 kB / 0.7034 GB, free: 4.996 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0005338/0.2414, allocations: 447 kB / 0.7038 GB, free: 4.562 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2414, allocations: 0 / 0.7038 GB, free: 4.562 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001057/0.2424, allocations: 362.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.003116/0.2456, allocations: 2.668 MB / 0.7068 GB, free: 1.508 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.2477, allocations: 1.44 MB / 0.7082 GB, free: 56 kB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2478, allocations: 0 / 0.7082 GB, free: 56 kB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.2491, allocations: 0.9081 MB / 0.709 GB, free: 15.14 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.2496, allocations: 69.47 kB / 0.7091 GB, free: 15.07 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.2623, allocations: 9.694 MB / 0.7186 GB, free: 5.086 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009989/0.2634, allocations: 1.344 MB / 0.7199 GB, free: 3.715 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.0004092/0.2638, allocations: 236.6 kB / 0.7201 GB, free: 3.48 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.2642, allocations: 295.3 kB / 0.7204 GB, free: 3.191 MB / 0.5608 GB Notification: Performance of SimCode: time 7.61e-07/0.2642, allocations: 0 / 0.7204 GB, free: 3.191 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.3094, allocations: 19.81 MB / 0.7397 GB, free: 15.62 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.954/10.26, allocations: 8.594 kB / 0.7397 GB, free: 15.62 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