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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8317/0.8317, allocations: 177.1 MB / 204.2 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5341/0.5341, allocations: 88.07 MB / 348.8 MB, free: 14.35 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.904e-06/1.904e-06, allocations: 0 / 0.523 GB, free: 4.047 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.657e-05, allocations: 2.281 kB / 0.523 GB, free: 4.043 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.002899/0.002916, allocations: 3.321 MB / 0.5262 GB, free: 0.707 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.003792, allocations: 0.8287 MB / 0.527 GB, free: 15.87 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.00391, allocations: 8 kB / 0.527 GB, free: 15.86 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.004306, allocations: 214.5 kB / 0.5272 GB, free: 15.66 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.00443, allocations: 99.11 kB / 0.5273 GB, free: 15.56 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.005077, allocations: 498 kB / 0.5278 GB, free: 15.07 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.00585, allocations: 1.123 MB / 0.5289 GB, free: 13.95 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.0065, allocations: 0.4922 MB / 0.5294 GB, free: 13.43 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.007153, allocations: 0.7174 MB / 0.5301 GB, free: 12.71 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.007915, allocations: 0.6043 MB / 0.5307 GB, free: 12.11 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 9.562e-05/0.00801, allocations: 116 kB / 0.5308 GB, free: 12 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.008255, allocations: 227.8 kB / 0.531 GB, free: 11.77 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.008399, allocations: 267.1 kB / 0.5313 GB, free: 11.51 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.008641, allocations: 407.1 kB / 0.5317 GB, free: 11.11 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.009724, allocations: 1.901 MB / 0.5335 GB, free: 9.207 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.009726, allocations: 0 / 0.5335 GB, free: 9.207 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009727, allocations: 0 / 0.5335 GB, free: 9.207 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.00974, allocations: 3.938 kB / 0.5335 GB, free: 9.203 MB / 458.8 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.003355/0.0131, allocations: 2.705 MB / 0.5362 GB, free: 6.457 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.01313, allocations: 8.031 kB / 0.5362 GB, free: 6.449 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.01329, allocations: 189.7 kB / 0.5363 GB, free: 6.254 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.01341, allocations: 116.2 kB / 0.5365 GB, free: 6.141 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007849/0.01419, allocations: 0.7885 MB / 0.5372 GB, free: 5.324 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.01424, allocations: 94.72 kB / 0.5373 GB, free: 5.23 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.01436, allocations: 112.4 kB / 0.5374 GB, free: 5.121 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.01599, allocations: 1.836 MB / 0.5392 GB, free: 3.227 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.01601, allocations: 4.188 kB / 0.5392 GB, free: 3.223 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/0.01608, allocations: 52.36 kB / 0.5393 GB, free: 3.172 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.0161, allocations: 32.12 kB / 0.5393 GB, free: 3.141 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.01763, allocations: 1.617 MB / 0.5409 GB, free: 1.516 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.02231, allocations: 5.574 MB / 0.5463 GB, free: 11.78 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.02326, allocations: 0.9466 MB / 0.5473 GB, free: 10.82 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.02371, allocations: 0.522 MB / 0.5478 GB, free: 10.29 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.02373, allocations: 4.5 kB / 0.5478 GB, free: 10.29 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.02375, allocations: 39.06 kB / 0.5478 GB, free: 10.24 MB / 474.8 MB Notification: Performance of pre-optimization done (n=53): time 2.275e-06/0.02376, allocations: 0 / 0.5478 GB, free: 10.24 MB / 474.8 MB Notification: Performance of matching and sorting (n=53): time 0.004285/0.02804, allocations: 3.315 MB / 0.551 GB, free: 6.914 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.02807, allocations: 67.91 kB / 0.5511 GB, free: 6.836 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.02852, allocations: 0.6304 MB / 0.5517 GB, free: 6.199 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.02855, allocations: 37.7 kB / 0.5518 GB, free: 6.156 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.02877, allocations: 0.5035 MB / 0.5522 GB, free: 5.645 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.02886, allocations: 190.3 kB / 0.5524 GB, free: 5.457 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.02899, allocations: 146.6 kB / 0.5526 GB, free: 5.309 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.02909, allocations: 366.8 kB / 0.5529 GB, free: 4.941 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.02945, allocations: 429.7 kB / 0.5533 GB, free: 4.52 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.02991, allocations: 0.6525 MB / 0.554 GB, free: 3.766 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.03079, allocations: 1.158 MB / 0.5551 GB, free: 2.508 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.03079, allocations: 4 kB / 0.5551 GB, free: 2.504 MB / 474.8 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001561/0.03235, allocations: 1.683 MB / 0.5567 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.03237, allocations: 8 kB / 0.5568 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.03238, allocations: 8.875 kB / 0.5568 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007912/0.03317, allocations: 0.5936 MB / 0.5573 GB, free: 204 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.03336, allocations: 123.8 kB / 0.5575 GB, free: 80 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.03865, allocations: 6.577 MB / 0.5639 GB, free: 9.383 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.03893, allocations: 187.1 kB / 0.5641 GB, free: 9.199 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.03896, allocations: 39.94 kB / 0.5641 GB, free: 9.16 MB / 490.8 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.0003498/0.03931, allocations: 0.5015 MB / 0.5646 GB, free: 8.652 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.03936, allocations: 55.62 kB / 0.5646 GB, free: 8.598 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.03945, allocations: 97.22 kB / 0.5647 GB, free: 8.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.03945, allocations: 8 kB / 0.5647 GB, free: 8.492 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.03946, allocations: 4 kB / 0.5647 GB, free: 8.488 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.03947, allocations: 0 / 0.5647 GB, free: 8.488 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006846/0.04015, allocations: 0.9379 MB / 0.5657 GB, free: 7.508 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.04015, allocations: 0 / 0.5657 GB, free: 7.508 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.04028, allocations: 59.92 kB / 0.5657 GB, free: 7.449 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006987/0.04097, allocations: 0.5861 MB / 0.5663 GB, free: 6.859 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.041, allocations: 15.98 kB / 0.5663 GB, free: 6.844 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005118/0.04612, allocations: 6.564 MB / 0.5727 GB, free: 168 kB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.04612, allocations: 0 / 0.5727 GB, free: 168 kB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.0479, allocations: 2.074 MB / 0.5747 GB, free: 14.07 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.04797, allocations: 75.52 kB / 0.5748 GB, free: 13.99 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.04801, allocations: 12 kB / 0.5748 GB, free: 13.98 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.04822, allocations: 115.8 kB / 0.5749 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.04829, allocations: 44.41 kB / 0.575 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.04831, allocations: 12 kB / 0.575 GB, free: 13.81 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0003086/0.04862, allocations: 447 kB / 0.5754 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4e-08/0.04862, allocations: 0 / 0.5754 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0005434/0.04916, allocations: 363.1 kB / 0.5758 GB, free: 13.02 MB / 0.4949 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.002011/0.05117, allocations: 2.646 MB / 0.5783 GB, free: 10.34 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.05248, allocations: 1.413 MB / 0.5797 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.05249, allocations: 0 / 0.5797 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.05323, allocations: 0.881 MB / 0.5806 GB, free: 8.023 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.05354, allocations: 61.62 kB / 0.5806 GB, free: 7.965 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008179/0.06172, allocations: 9.688 MB / 0.5901 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.06238, allocations: 0.74 MB / 0.5908 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.0627, allocations: 244.5 kB / 0.5911 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.06297, allocations: 288.4 kB / 0.5913 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/0.06297, allocations: 0 / 0.5913 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.09499, allocations: 20.42 MB / 0.6113 GB, free: 8.523 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.645, allocations: 7.922 kB / 0.6113 GB, free: 8.516 MB / 0.5262 GB " [Timeout remaining time 292] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.171568329446018]