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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.803/0.803, allocations: 120.6 MB / 424.6 MB, free: 5.523 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.89 kB / 0.5932 GB, free: 3.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6134/0.6152, allocations: 84.64 MB / 0.6759 GB, free: 16.45 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.003621/0.6189, allocations: 3.641 MB / 0.6794 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.6199, allocations: 0.9034 MB / 0.6803 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.6201, allocations: 17.5 kB / 0.6803 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.6206, allocations: 216.9 kB / 0.6805 GB, free: 12.76 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.6207, allocations: 92.7 kB / 0.6806 GB, free: 12.68 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.6217, allocations: 0.6692 MB / 0.6813 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0009421/0.6227, allocations: 1.094 MB / 0.6824 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008017/0.6235, allocations: 0.7342 MB / 0.6831 GB, free: 11.13 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004353/0.6239, allocations: 0.4914 MB / 0.6835 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.6245, allocations: 0.6196 MB / 0.6842 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.6247, allocations: 114.8 kB / 0.6843 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.6252, allocations: 238.3 kB / 0.6845 GB, free: 10.44 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.6253, allocations: 257.8 kB / 0.6847 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.6259, allocations: 0.5904 MB / 0.6853 GB, free: 9.84 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.6275, allocations: 1.901 MB / 0.6872 GB, free: 8.555 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6275, allocations: 0 / 0.6872 GB, free: 8.555 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6275, allocations: 1.062 kB / 0.6872 GB, free: 8.555 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.6275, allocations: 0 / 0.6872 GB, free: 8.555 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.006006/0.6335, allocations: 2.792 MB / 0.6899 GB, free: 6.82 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6335, allocations: 8.875 kB / 0.6899 GB, free: 6.82 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.6338, allocations: 193 kB / 0.6901 GB, free: 6.676 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.634, allocations: 118.5 kB / 0.6902 GB, free: 6.613 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.6356, allocations: 0.8089 MB / 0.691 GB, free: 6.086 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.6357, allocations: 90.53 kB / 0.6911 GB, free: 6.043 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.6359, allocations: 122 kB / 0.6912 GB, free: 6 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.6384, allocations: 1.838 MB / 0.693 GB, free: 4.992 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.6384, allocations: 3.938 kB / 0.693 GB, free: 4.988 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.6386, allocations: 46.34 kB / 0.693 GB, free: 4.953 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/0.6386, allocations: 29.31 kB / 0.6931 GB, free: 4.953 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.6409, allocations: 1.621 MB / 0.6946 GB, free: 4.254 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007729/0.6486, allocations: 5.996 MB / 0.7005 GB, free: 288 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.6501, allocations: 0.9451 MB / 0.7014 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.6508, allocations: 0.5101 MB / 0.7019 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.6508, allocations: 9.406 kB / 0.7019 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.6509, allocations: 45.52 kB / 0.702 GB, free: 15.54 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=53): time 2.595e-06/0.6509, allocations: 0 / 0.702 GB, free: 15.54 MB / 0.5295 GB Notification: Performance of matching and sorting (n=53): time 0.007713/0.6586, allocations: 3.385 MB / 0.7053 GB, free: 12.79 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.6586, allocations: 59.84 kB / 0.7053 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/0.6595, allocations: 0.6227 MB / 0.7059 GB, free: 12.08 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.6595, allocations: 37.64 kB / 0.706 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.6599, allocations: 0.4957 MB / 0.7065 GB, free: 11.54 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.6601, allocations: 202.3 kB / 0.7067 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.6603, allocations: 150.6 kB / 0.7068 GB, free: 11.18 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.6605, allocations: 366.8 kB / 0.7072 GB, free: 10.82 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/0.6611, allocations: 429.7 kB / 0.7076 GB, free: 10.4 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.6618, allocations: 0.6478 MB / 0.7082 GB, free: 9.648 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.6633, allocations: 1.151 MB / 0.7093 GB, free: 8.398 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.6633, allocations: 4 kB / 0.7093 GB, free: 8.395 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002783/0.6661, allocations: 1.701 MB / 0.711 GB, free: 6.68 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.6661, allocations: 8 kB / 0.711 GB, free: 6.672 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.6661, allocations: 8 kB / 0.711 GB, free: 6.664 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.6675, allocations: 0.5987 MB / 0.7116 GB, free: 6.062 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.6678, allocations: 123.8 kB / 0.7117 GB, free: 5.941 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009195/0.677, allocations: 6.764 MB / 0.7183 GB, free: 15.03 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/0.6778, allocations: 183.1 kB / 0.7185 GB, free: 14.85 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.6778, allocations: 32 kB / 0.7185 GB, free: 14.82 MB / 0.5452 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.000825/0.6787, allocations: 0.4973 MB / 0.719 GB, free: 14.31 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.6788, allocations: 55.67 kB / 0.7191 GB, free: 14.26 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.679, allocations: 93.23 kB / 0.7191 GB, free: 14.16 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.679, allocations: 4 kB / 0.7191 GB, free: 14.16 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.441e-05/0.679, allocations: 11.98 kB / 0.7192 GB, free: 14.15 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.679, allocations: 3.938 kB / 0.7192 GB, free: 14.14 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.6804, allocations: 1.052 MB / 0.7202 GB, free: 13.04 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6804, allocations: 0 / 0.7202 GB, free: 13.04 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.6806, allocations: 59.92 kB / 0.7202 GB, free: 12.98 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.6819, allocations: 0.5906 MB / 0.7208 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.6819, allocations: 12 kB / 0.7208 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00909/0.691, allocations: 6.76 MB / 0.7274 GB, free: 5.477 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.691, allocations: 4 kB / 0.7274 GB, free: 5.473 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.6941, allocations: 2.072 MB / 0.7295 GB, free: 3.379 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.6944, allocations: 152.7 kB / 0.7296 GB, free: 3.211 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.6945, allocations: 16 kB / 0.7296 GB, free: 3.195 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.6949, allocations: 115.8 kB / 0.7297 GB, free: 3.082 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.695, allocations: 40.38 kB / 0.7298 GB, free: 3.043 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.695, allocations: 12 kB / 0.7298 GB, free: 3.031 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.000728/0.6958, allocations: 447 kB / 0.7302 GB, free: 2.598 MB / 0.5452 GB Notification: Performance of sort global known variables: time 8e-08/0.6958, allocations: 0 / 0.7302 GB, free: 2.598 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001252/0.697, allocations: 363.2 kB / 0.7306 GB, free: 2.242 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.003564/0.7006, allocations: 2.66 MB / 0.7332 GB, free: 15.54 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.002467/0.703, allocations: 1.401 MB / 0.7345 GB, free: 14.13 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7031, allocations: 0 / 0.7345 GB, free: 14.13 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.7045, allocations: 0.8887 MB / 0.7354 GB, free: 13.23 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.7051, allocations: 74.97 kB / 0.7355 GB, free: 13.16 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.7197, allocations: 9.688 MB / 0.7449 GB, free: 3.18 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.721, allocations: 1.34 MB / 0.7462 GB, free: 1.812 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.0004649/0.7214, allocations: 236.6 kB / 0.7465 GB, free: 1.578 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.7219, allocations: 291.3 kB / 0.7467 GB, free: 1.293 MB / 0.5608 GB Notification: Performance of SimCode: time 1.153e-06/0.7219, allocations: 0 / 0.7467 GB, free: 1.293 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05111/0.773, allocations: 19.63 MB / 0.7659 GB, free: 13.89 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.25, allocations: 10.75 kB / 0.7659 GB, free: 13.89 MB / 0.592 GB " [Timeout remaining time 289] (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 --stepSize=0.001 --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) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.028674740809947]