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.0009773/0.0009774, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.0009176/0.0009176, allocations: 190 kB / 17.54 MB, free: 6.066 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.191/1.191, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8148/0.8148, allocations: 119.3 MB / 410.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.89 kB / 0.4906 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.437, allocations: 80.68 MB / 0.5693 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.005825/0.4429, allocations: 7.971 MB / 0.5771 GB, free: 36.58 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.4446, allocations: 1.46 MB / 0.5786 GB, free: 35.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.4449, allocations: 32.12 kB / 0.5786 GB, free: 35.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.4456, allocations: 385.6 kB / 0.579 GB, free: 35.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.4461, allocations: 233.8 kB / 0.5792 GB, free: 34.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.4473, allocations: 0.8042 MB / 0.58 GB, free: 34.31 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008051/0.4481, allocations: 1.005 MB / 0.5809 GB, free: 33.71 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000636/0.4488, allocations: 0.6295 MB / 0.5816 GB, free: 33.37 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.4491, allocations: 427.4 kB / 0.582 GB, free: 33.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.4495, allocations: 0.5763 MB / 0.5825 GB, free: 32.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.4497, allocations: 113.5 kB / 0.5826 GB, free: 32.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.4501, allocations: 230.8 kB / 0.5829 GB, free: 32.67 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.4502, allocations: 241.6 kB / 0.5831 GB, free: 32.46 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.4507, allocations: 0.56 MB / 0.5836 GB, free: 32.06 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.4519, allocations: 1.65 MB / 0.5852 GB, free: 30.79 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4519, allocations: 4 kB / 0.5852 GB, free: 30.78 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4519, allocations: 1.25 kB / 0.5852 GB, free: 30.78 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.4519, allocations: 0 / 0.5852 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.00395/0.4559, allocations: 1.784 MB / 0.587 GB, free: 29.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4559, allocations: 17.95 kB / 0.587 GB, free: 29.52 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.456, allocations: 175.5 kB / 0.5872 GB, free: 29.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.4562, allocations: 109.9 kB / 0.5873 GB, free: 29.32 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.4567, allocations: 0.5688 MB / 0.5878 GB, free: 28.8 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.4568, allocations: 86.7 kB / 0.5879 GB, free: 28.76 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.4569, allocations: 121.3 kB / 0.588 GB, free: 28.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.4584, allocations: 1.157 MB / 0.5892 GB, free: 27.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.4584, allocations: 5.125 kB / 0.5892 GB, free: 27.97 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.4585, allocations: 46.22 kB / 0.5892 GB, free: 27.94 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.4586, allocations: 28.91 kB / 0.5892 GB, free: 27.94 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4597, allocations: 0.8583 MB / 0.5901 GB, free: 27.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.4637, allocations: 4.482 MB / 0.5945 GB, free: 23.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.4644, allocations: 0.5316 MB / 0.595 GB, free: 23.2 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.4647, allocations: 310.8 kB / 0.5953 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4647, allocations: 12.38 kB / 0.5953 GB, free: 22.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.4647, allocations: 35 kB / 0.5953 GB, free: 22.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.432e-06/0.4647, allocations: 0 / 0.5953 GB, free: 22.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.004262/0.469, allocations: 1.772 MB / 0.597 GB, free: 21.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.469, allocations: 55.84 kB / 0.5971 GB, free: 20.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.4693, allocations: 461.7 kB / 0.5975 GB, free: 20.51 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4694, allocations: 33.7 kB / 0.5976 GB, free: 20.47 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.4695, allocations: 490.1 kB / 0.598 GB, free: 19.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.4696, allocations: 189.2 kB / 0.5982 GB, free: 19.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.4697, allocations: 126.6 kB / 0.5983 GB, free: 19.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.4698, allocations: 362.7 kB / 0.5987 GB, free: 19.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.47, allocations: 205.9 kB / 0.5989 GB, free: 19.1 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.4703, allocations: 427.6 kB / 0.5993 GB, free: 18.58 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/0.4709, allocations: 0.6823 MB / 0.6 GB, free: 17.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4709, allocations: 0 / 0.6 GB, free: 17.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001203/0.4721, allocations: 0.9904 MB / 0.6009 GB, free: 16.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4721, allocations: 11.94 kB / 0.6009 GB, free: 16.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4721, allocations: 8 kB / 0.6009 GB, free: 16.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008062/0.4729, allocations: 385.2 kB / 0.6013 GB, free: 16.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.4731, allocations: 87.84 kB / 0.6014 GB, free: 16.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003983/0.4771, allocations: 4.297 MB / 0.6056 GB, free: 11.87 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.4775, allocations: 79.06 kB / 0.6057 GB, free: 11.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.4775, allocations: 28 kB / 0.6057 GB, free: 11.77 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.0002256/0.4777, allocations: 266.3 kB / 0.6059 GB, free: 11.5 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.4778, allocations: 47.44 kB / 0.606 GB, free: 11.45 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.886e-05/0.4779, allocations: 65.17 kB / 0.6061 GB, free: 11.39 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.4779, allocations: 8 kB / 0.6061 GB, free: 11.38 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.4779, allocations: 4 kB / 0.6061 GB, free: 11.38 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4779, allocations: 11.92 kB / 0.6061 GB, free: 11.36 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.4785, allocations: 0.7941 MB / 0.6069 GB, free: 10.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4785, allocations: 4 kB / 0.6069 GB, free: 10.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.4786, allocations: 27.98 kB / 0.6069 GB, free: 10.49 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007128/0.4794, allocations: 376.7 kB / 0.6072 GB, free: 10.12 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.4794, allocations: 8 kB / 0.6072 GB, free: 10.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003929/0.4833, allocations: 4.29 MB / 0.6114 GB, free: 5.676 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4833, allocations: 0 / 0.6114 GB, free: 5.676 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.4847, allocations: 1.131 MB / 0.6125 GB, free: 4.52 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.4848, allocations: 136.3 kB / 0.6127 GB, free: 4.367 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.4848, allocations: 11.94 kB / 0.6127 GB, free: 4.355 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.485, allocations: 12 kB / 0.6127 GB, free: 4.344 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.4851, allocations: 44.38 kB / 0.6127 GB, free: 4.301 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.4851, allocations: 8 kB / 0.6127 GB, free: 4.293 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000243/0.4854, allocations: 315.1 kB / 0.613 GB, free: 3.988 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4854, allocations: 4 kB / 0.6131 GB, free: 3.984 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008494/0.4863, allocations: 318.8 kB / 0.6134 GB, free: 3.672 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.001557/0.4878, allocations: 1.7 MB / 0.615 GB, free: 1.938 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.489, allocations: 0.8893 MB / 0.6159 GB, free: 1.035 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.489, allocations: 448 / 0.6159 GB, free: 1.035 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.4897, allocations: 0.592 MB / 0.6165 GB, free: 444 kB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.4903, allocations: 71.59 kB / 0.6165 GB, free: 372 kB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/0.4987, allocations: 6.857 MB / 0.6232 GB, free: 9.223 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.4992, allocations: 0.9689 MB / 0.6242 GB, free: 8.223 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.4994, allocations: 48.78 kB / 0.6242 GB, free: 8.172 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.4998, allocations: 295.3 kB / 0.6245 GB, free: 7.883 MB / 478.3 MB Notification: Performance of SimCode: time 3.31e-07/0.4998, allocations: 0 / 0.6245 GB, free: 7.883 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.5303, allocations: 14.69 MB / 0.6388 GB, free: 9.465 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.5306, allocations: 301.8 kB / 0.6391 GB, free: 9.082 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.682, allocations: 2.75 kB / 0.6391 GB, free: 9.082 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","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches