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.001171/0.001171, allocations: 115.1 kB / 16.63 MB, free: 6.812 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.001098/0.001098, allocations: 190 kB / 17.55 MB, free: 5.934 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.226/1.226, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8481/0.8481, allocations: 119.3 MB / 410.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 63.91 kB / 0.4906 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4615, allocations: 80.68 MB / 0.5693 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.003389/0.4649, allocations: 3.637 MB / 0.5729 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.4658, allocations: 0.8771 MB / 0.5738 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.4659, allocations: 8.875 kB / 0.5738 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.4664, allocations: 197.9 kB / 0.5739 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.4665, allocations: 76.11 kB / 0.574 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.4674, allocations: 0.6191 MB / 0.5746 GB, free: 39.23 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007933/0.4682, allocations: 1.081 MB / 0.5757 GB, free: 38.59 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/0.469, allocations: 0.9729 MB / 0.5766 GB, free: 38.13 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.4693, allocations: 496.5 kB / 0.5771 GB, free: 37.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.4699, allocations: 0.6307 MB / 0.5777 GB, free: 37.5 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.47, allocations: 114.1 kB / 0.5778 GB, free: 37.5 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.4705, allocations: 226.5 kB / 0.578 GB, free: 37.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.4707, allocations: 266.2 kB / 0.5783 GB, free: 37.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.4712, allocations: 0.5909 MB / 0.5789 GB, free: 36.84 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.4726, allocations: 1.87 MB / 0.5807 GB, free: 35.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4726, allocations: 0 / 0.5807 GB, free: 35.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4726, allocations: 1.25 kB / 0.5807 GB, free: 35.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.4727, allocations: 3.938 kB / 0.5807 GB, free: 35.57 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.005669/0.4783, allocations: 2.762 MB / 0.5834 GB, free: 33.87 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.4784, allocations: 9.938 kB / 0.5834 GB, free: 33.87 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.4786, allocations: 196.1 kB / 0.5836 GB, free: 33.72 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.4789, allocations: 110.9 kB / 0.5837 GB, free: 33.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.48, allocations: 0.804 MB / 0.5845 GB, free: 33.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.4801, allocations: 85.8 kB / 0.5846 GB, free: 33.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.4803, allocations: 122.1 kB / 0.5847 GB, free: 33.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.4831, allocations: 1.842 MB / 0.5865 GB, free: 32.04 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.4832, allocations: 3.938 kB / 0.5865 GB, free: 32.04 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.4833, allocations: 46.88 kB / 0.5865 GB, free: 32 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.4833, allocations: 29.03 kB / 0.5866 GB, free: 31.98 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.4851, allocations: 1.621 MB / 0.5881 GB, free: 30.35 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/0.4908, allocations: 6.027 MB / 0.594 GB, free: 24.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4919, allocations: 0.9919 MB / 0.595 GB, free: 23.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.4924, allocations: 0.5572 MB / 0.5955 GB, free: 22.6 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.4925, allocations: 12.38 kB / 0.5956 GB, free: 22.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.4925, allocations: 38.94 kB / 0.5956 GB, free: 22.54 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.543e-06/0.4925, allocations: 0 / 0.5956 GB, free: 22.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.005983/0.4985, allocations: 3.414 MB / 0.5989 GB, free: 19.09 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.4985, allocations: 55.84 kB / 0.599 GB, free: 19.03 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.499, allocations: 0.6226 MB / 0.5996 GB, free: 18.4 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.4991, allocations: 37.7 kB / 0.5996 GB, free: 18.36 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.4992, allocations: 494.1 kB / 0.6001 GB, free: 17.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4993, allocations: 189.3 kB / 0.6003 GB, free: 17.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.4995, allocations: 146.6 kB / 0.6004 GB, free: 17.53 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.4996, allocations: 366.8 kB / 0.6008 GB, free: 17.16 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.5, allocations: 429.7 kB / 0.6012 GB, free: 16.74 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.5005, allocations: 0.6596 MB / 0.6018 GB, free: 15.98 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000893/0.5014, allocations: 1.151 MB / 0.6029 GB, free: 14.72 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5014, allocations: 0 / 0.6029 GB, free: 14.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001881/0.5033, allocations: 1.709 MB / 0.6046 GB, free: 13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5033, allocations: 12.03 kB / 0.6046 GB, free: 12.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.5033, allocations: 8 kB / 0.6046 GB, free: 12.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.5043, allocations: 0.5981 MB / 0.6052 GB, free: 12.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.5046, allocations: 123.8 kB / 0.6053 GB, free: 12.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006071/0.5107, allocations: 6.764 MB / 0.6119 GB, free: 5.348 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.5112, allocations: 182.9 kB / 0.6121 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.5112, allocations: 31.94 kB / 0.6121 GB, free: 5.137 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.0005048/0.5117, allocations: 0.4918 MB / 0.6126 GB, free: 4.637 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.5118, allocations: 43.44 kB / 0.6127 GB, free: 4.594 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.5119, allocations: 109.2 kB / 0.6128 GB, free: 4.488 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.512, allocations: 4 kB / 0.6128 GB, free: 4.484 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.512, allocations: 8 kB / 0.6128 GB, free: 4.477 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.512, allocations: 7.922 kB / 0.6128 GB, free: 4.469 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008218/0.5128, allocations: 1.048 MB / 0.6138 GB, free: 3.371 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5128, allocations: 0 / 0.6138 GB, free: 3.371 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.513, allocations: 67.84 kB / 0.6139 GB, free: 3.305 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009533/0.514, allocations: 0.5942 MB / 0.6145 GB, free: 2.707 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.514, allocations: 8 kB / 0.6145 GB, free: 2.699 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006911/0.5209, allocations: 6.756 MB / 0.6211 GB, free: 11.8 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5209, allocations: 0 / 0.6211 GB, free: 11.8 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.5235, allocations: 2.099 MB / 0.6231 GB, free: 9.676 MB / 478.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.5237, allocations: 156.3 kB / 0.6233 GB, free: 9.504 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.5238, allocations: 12 kB / 0.6233 GB, free: 9.492 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.5241, allocations: 107.8 kB / 0.6234 GB, free: 9.387 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5243, allocations: 48.38 kB / 0.6234 GB, free: 9.34 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.5243, allocations: 12.09 kB / 0.6234 GB, free: 9.328 MB / 478.3 MB Notification: Performance of sorting global known variables: time 0.0004362/0.5247, allocations: 443 kB / 0.6239 GB, free: 8.898 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5247, allocations: 4 kB / 0.6239 GB, free: 8.895 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0009347/0.5257, allocations: 362.8 kB / 0.6242 GB, free: 8.539 MB / 478.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.002903/0.5286, allocations: 2.671 MB / 0.6268 GB, free: 5.832 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.5306, allocations: 1.534 MB / 0.6283 GB, free: 4.285 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5307, allocations: 0 / 0.6283 GB, free: 4.285 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.5318, allocations: 0.916 MB / 0.6292 GB, free: 3.355 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.5323, allocations: 63.53 kB / 0.6293 GB, free: 3.293 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.5437, allocations: 10.3 MB / 0.6393 GB, free: 8.711 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.5445, allocations: 1.34 MB / 0.6406 GB, free: 7.34 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.0003849/0.5449, allocations: 236.6 kB / 0.6409 GB, free: 7.105 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.5453, allocations: 295.3 kB / 0.6411 GB, free: 6.82 MB / 494.3 MB Notification: Performance of SimCode: time 2.3e-07/0.5453, allocations: 0 / 0.6411 GB, free: 6.82 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.578, allocations: 19.15 MB / 0.6598 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.5782, allocations: 284.5 kB / 0.6601 GB, free: 3.559 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/2.664, allocations: 2.969 kB / 0.6601 GB, free: 3.559 MB / 0.4983 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","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches