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.001207/0.001207, allocations: 104 kB / 16.92 MB, free: 5.793 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.00205/0.00205, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.284/1.284, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9961/0.9961, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.89 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5616, allocations: 80.69 MB / 0.5698 GB, free: 43.24 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.007153/0.5688, allocations: 8.026 MB / 0.5777 GB, free: 36.78 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.5724, allocations: 1.493 MB / 0.5791 GB, free: 35.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.5737, allocations: 32.84 kB / 0.5792 GB, free: 35.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.575, allocations: 448.8 kB / 0.5796 GB, free: 35.21 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0008708/0.5759, allocations: 292.8 kB / 0.5799 GB, free: 34.95 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.5775, allocations: 0.861 MB / 0.5807 GB, free: 34.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.5807, allocations: 1.005 MB / 0.5817 GB, free: 33.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.5819, allocations: 0.634 MB / 0.5823 GB, free: 33.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.5823, allocations: 418.7 kB / 0.5827 GB, free: 33.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.5829, allocations: 0.5684 MB / 0.5833 GB, free: 32.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.5831, allocations: 114.8 kB / 0.5834 GB, free: 32.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.5835, allocations: 242.6 kB / 0.5836 GB, free: 32.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.5837, allocations: 237.5 kB / 0.5838 GB, free: 32.46 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000381/0.5841, allocations: 0.56 MB / 0.5844 GB, free: 32.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.5854, allocations: 1.646 MB / 0.586 GB, free: 30.78 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5854, allocations: 1.281 kB / 0.586 GB, free: 30.78 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5854, allocations: 0 / 0.586 GB, free: 30.78 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.5854, allocations: 0 / 0.586 GB, free: 30.78 MB / 462.3 MB 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.004426/0.5898, allocations: 1.792 MB / 0.5878 GB, free: 29.52 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5899, allocations: 12.67 kB / 0.5878 GB, free: 29.52 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.5901, allocations: 179 kB / 0.5879 GB, free: 29.37 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.5903, allocations: 110.9 kB / 0.588 GB, free: 29.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.591, allocations: 0.5686 MB / 0.5886 GB, free: 28.79 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.258e-05/0.5911, allocations: 90.14 kB / 0.5887 GB, free: 28.75 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.5912, allocations: 117 kB / 0.5888 GB, free: 28.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.5929, allocations: 1.165 MB / 0.5899 GB, free: 27.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.593, allocations: 7.938 kB / 0.5899 GB, free: 27.95 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.593, allocations: 50.91 kB / 0.59 GB, free: 27.91 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.5931, allocations: 28.59 kB / 0.59 GB, free: 27.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.5944, allocations: 0.8583 MB / 0.5909 GB, free: 27.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004717/0.5991, allocations: 4.471 MB / 0.5952 GB, free: 23.15 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.5999, allocations: 0.5317 MB / 0.5957 GB, free: 22.61 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.6002, allocations: 310.8 kB / 0.596 GB, free: 22.3 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.6003, allocations: 12.38 kB / 0.596 GB, free: 22.29 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.6003, allocations: 38.94 kB / 0.5961 GB, free: 22.24 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 2.805e-06/0.6003, allocations: 0 / 0.5961 GB, free: 22.24 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.004559/0.6049, allocations: 1.772 MB / 0.5978 GB, free: 20.43 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.6049, allocations: 63.83 kB / 0.5979 GB, free: 20.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.6054, allocations: 457.7 kB / 0.5983 GB, free: 19.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.6054, allocations: 33.7 kB / 0.5983 GB, free: 19.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.6056, allocations: 486.1 kB / 0.5988 GB, free: 19.38 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.6057, allocations: 193.2 kB / 0.599 GB, free: 19.19 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.6058, allocations: 122.6 kB / 0.5991 GB, free: 19.07 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.6059, allocations: 358.8 kB / 0.5995 GB, free: 18.71 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.6061, allocations: 197.9 kB / 0.5996 GB, free: 18.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.6064, allocations: 435.6 kB / 0.6001 GB, free: 17.98 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.607, allocations: 0.6783 MB / 0.6007 GB, free: 17.21 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.607, allocations: 0 / 0.6007 GB, free: 17.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001264/0.6083, allocations: 0.9908 MB / 0.6017 GB, free: 16.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6083, allocations: 8 kB / 0.6017 GB, free: 16.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.6083, allocations: 8 kB / 0.6017 GB, free: 16.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008298/0.6092, allocations: 388.8 kB / 0.6021 GB, free: 15.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.6094, allocations: 91.78 kB / 0.6022 GB, free: 15.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.6136, allocations: 4.294 MB / 0.6064 GB, free: 11.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.6141, allocations: 79.06 kB / 0.6064 GB, free: 11.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.6141, allocations: 32 kB / 0.6065 GB, free: 11.17 MB / 462.3 MB 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.0003031/0.6144, allocations: 261.6 kB / 0.6067 GB, free: 10.9 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.6145, allocations: 47.44 kB / 0.6068 GB, free: 10.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/0.6146, allocations: 61.23 kB / 0.6068 GB, free: 10.8 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6146, allocations: 8 kB / 0.6068 GB, free: 10.79 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/0.6146, allocations: 8 kB / 0.6068 GB, free: 10.78 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6146, allocations: 7.922 kB / 0.6068 GB, free: 10.77 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.6153, allocations: 0.8058 MB / 0.6076 GB, free: 9.918 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6153, allocations: 0 / 0.6076 GB, free: 9.918 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.6155, allocations: 31.88 kB / 0.6077 GB, free: 9.887 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007508/0.6162, allocations: 376.7 kB / 0.608 GB, free: 9.516 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.6163, allocations: 12 kB / 0.608 GB, free: 9.504 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004075/0.6204, allocations: 4.282 MB / 0.6122 GB, free: 5.078 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6204, allocations: 7.922 kB / 0.6122 GB, free: 5.07 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.6217, allocations: 1.131 MB / 0.6133 GB, free: 3.914 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6219, allocations: 132.4 kB / 0.6134 GB, free: 3.766 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.6219, allocations: 12 kB / 0.6135 GB, free: 3.754 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.6222, allocations: 8 kB / 0.6135 GB, free: 3.746 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.6222, allocations: 44.38 kB / 0.6135 GB, free: 3.703 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.6223, allocations: 12 kB / 0.6135 GB, free: 3.691 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002679/0.6225, allocations: 311.1 kB / 0.6138 GB, free: 3.395 MB / 462.3 MB Notification: Performance of sort global known variables: time 7.11e-07/0.6225, allocations: 4 kB / 0.6138 GB, free: 3.391 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000935/0.6235, allocations: 322.7 kB / 0.6141 GB, free: 3.074 MB / 462.3 MB 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.001508/0.625, allocations: 1.693 MB / 0.6158 GB, free: 1.344 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.6263, allocations: 0.8978 MB / 0.6167 GB, free: 448 kB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6263, allocations: 0 / 0.6167 GB, free: 448 kB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.6271, allocations: 0.5961 MB / 0.6172 GB, free: 15.83 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.6276, allocations: 65.8 kB / 0.6173 GB, free: 15.77 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00956/0.6372, allocations: 6.435 MB / 0.6236 GB, free: 9.043 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.638, allocations: 0.9728 MB / 0.6245 GB, free: 8.043 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.000228/0.6382, allocations: 56.7 kB / 0.6246 GB, free: 7.984 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.6386, allocations: 295.3 kB / 0.6249 GB, free: 7.695 MB / 478.3 MB Notification: Performance of SimCode: time 1.572e-06/0.6386, allocations: 0 / 0.6249 GB, free: 7.695 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05377/0.6924, allocations: 14.71 MB / 0.6392 GB, free: 9.215 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.75, allocations: 8.797 kB / 0.6392 GB, free: 9.207 MB / 494.3 MB (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