Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_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.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_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.001873/0.001873, allocations: 112.6 kB / 17.06 MB, free: 6.02 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.002078/0.002079, allocations: 191.9 kB / 18 MB, free: 5.098 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.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.023/1.023, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 62.36 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1615, allocations: 80.69 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.009682/0.1712, allocations: 8.044 MB / 0.6571 GB, free: 5.52 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.1748, allocations: 1.49 MB / 0.6585 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006318/0.1754, allocations: 31.94 kB / 0.6586 GB, free: 3.992 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1766, allocations: 453.4 kB / 0.659 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000818/0.1775, allocations: 285.4 kB / 0.6593 GB, free: 3.266 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.1793, allocations: 0.8605 MB / 0.6601 GB, free: 2.402 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1805, allocations: 1.026 MB / 0.6611 GB, free: 1.375 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008572/0.1813, allocations: 0.6286 MB / 0.6617 GB, free: 0.7188 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.1818, allocations: 422.4 kB / 0.6621 GB, free: 312 kB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007218/0.1825, allocations: 0.572 MB / 0.6627 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.1827, allocations: 116 kB / 0.6628 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.1832, allocations: 231.8 kB / 0.663 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.1834, allocations: 239.2 kB / 0.6632 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005365/0.184, allocations: 0.5599 MB / 0.6638 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.1859, allocations: 1.677 MB / 0.6654 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1859, allocations: 4 kB / 0.6654 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1859, allocations: 3.938 kB / 0.6654 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.186, allocations: 0 / 0.6654 GB, free: 12.9 MB / 0.5139 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.004685/0.1907, allocations: 1.817 MB / 0.6672 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1907, allocations: 19.89 kB / 0.6672 GB, free: 11.01 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.1909, allocations: 169.7 kB / 0.6674 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.1911, allocations: 116.2 kB / 0.6675 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.1919, allocations: 0.5728 MB / 0.6681 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.192, allocations: 86.73 kB / 0.6681 GB, free: 10.02 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.1922, allocations: 116.4 kB / 0.6682 GB, free: 9.906 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.194, allocations: 1.161 MB / 0.6694 GB, free: 8.688 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.1941, allocations: 7.875 kB / 0.6694 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.1942, allocations: 48 kB / 0.6694 GB, free: 8.633 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.1942, allocations: 28 kB / 0.6695 GB, free: 8.605 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.1957, allocations: 0.864 MB / 0.6703 GB, free: 7.734 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00591/0.2016, allocations: 4.432 MB / 0.6746 GB, free: 3.145 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.2026, allocations: 0.5239 MB / 0.6751 GB, free: 2.613 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.203, allocations: 312.7 kB / 0.6754 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.2031, allocations: 12.38 kB / 0.6755 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.2031, allocations: 39 kB / 0.6755 GB, free: 2.238 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 3.988e-06/0.2031, allocations: 3.984 kB / 0.6755 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.005422/0.2085, allocations: 1.78 MB / 0.6772 GB, free: 440 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.2086, allocations: 59.84 kB / 0.6773 GB, free: 368 kB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.2092, allocations: 453.8 kB / 0.6777 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.2092, allocations: 37.7 kB / 0.6778 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.2096, allocations: 0.4918 MB / 0.6782 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.2098, allocations: 194.3 kB / 0.6784 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.21, allocations: 126.6 kB / 0.6785 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2102, allocations: 358.8 kB / 0.6789 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.2105, allocations: 201.9 kB / 0.6791 GB, free: 14.49 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.211, allocations: 427.6 kB / 0.6795 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009066/0.2119, allocations: 0.6823 MB / 0.6802 GB, free: 13.18 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2119, allocations: 0 / 0.6802 GB, free: 13.18 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001749/0.2137, allocations: 0.9861 MB / 0.6811 GB, free: 12.18 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.2137, allocations: 9 kB / 0.6811 GB, free: 12.18 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2137, allocations: 8 kB / 0.6811 GB, free: 12.17 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.2148, allocations: 384.7 kB / 0.6815 GB, free: 11.79 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.2151, allocations: 87.84 kB / 0.6816 GB, free: 11.7 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/0.2213, allocations: 4.306 MB / 0.6858 GB, free: 7.254 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.2217, allocations: 91.16 kB / 0.6859 GB, free: 7.164 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.2218, allocations: 32 kB / 0.6859 GB, free: 7.133 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.0004179/0.2222, allocations: 258.5 kB / 0.6862 GB, free: 6.871 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.2223, allocations: 55.62 kB / 0.6862 GB, free: 6.816 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.2225, allocations: 69.22 kB / 0.6863 GB, free: 6.746 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2225, allocations: 8 kB / 0.6863 GB, free: 6.738 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/0.2225, allocations: 8 kB / 0.6863 GB, free: 6.73 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.2225, allocations: 3.938 kB / 0.6863 GB, free: 6.727 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.2235, allocations: 0.802 MB / 0.6871 GB, free: 5.875 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2235, allocations: 0 / 0.6871 GB, free: 5.875 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.2237, allocations: 31.92 kB / 0.6871 GB, free: 5.844 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009508/0.2247, allocations: 373 kB / 0.6875 GB, free: 5.477 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.2247, allocations: 8 kB / 0.6875 GB, free: 5.469 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.2309, allocations: 4.294 MB / 0.6917 GB, free: 1.035 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2309, allocations: 0 / 0.6917 GB, free: 1.035 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.2328, allocations: 1.12 MB / 0.6928 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.233, allocations: 140.7 kB / 0.6929 GB, free: 15.74 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.2331, allocations: 8 kB / 0.6929 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.2333, allocations: 12 kB / 0.6929 GB, free: 15.72 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2334, allocations: 44.36 kB / 0.693 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.2335, allocations: 12 kB / 0.693 GB, free: 15.66 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0004084/0.2339, allocations: 319.1 kB / 0.6933 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2339, allocations: 0 / 0.6933 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001069/0.235, allocations: 319.1 kB / 0.6936 GB, free: 15.04 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.002357/0.2373, allocations: 1.704 MB / 0.6952 GB, free: 13.3 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.2391, allocations: 0.8858 MB / 0.6961 GB, free: 12.41 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2391, allocations: 0 / 0.6961 GB, free: 12.41 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.2401, allocations: 0.6039 MB / 0.6967 GB, free: 11.79 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.2407, allocations: 57.55 kB / 0.6967 GB, free: 11.74 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.2507, allocations: 6.284 MB / 0.7029 GB, free: 5.168 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/0.2515, allocations: 0.9728 MB / 0.7038 GB, free: 4.168 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.2517, allocations: 48.77 kB / 0.7039 GB, free: 4.117 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.2521, allocations: 295.3 kB / 0.7042 GB, free: 3.828 MB / 0.5452 GB Notification: Performance of SimCode: time 1.162e-06/0.2521, allocations: 0 / 0.7042 GB, free: 3.828 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.3019, allocations: 15.07 MB / 0.7189 GB, free: 5.012 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.04, allocations: 4.812 kB / 0.7189 GB, free: 5.008 MB / 0.5608 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches