Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.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.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",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.001216/0.00122, allocations: 109.9 kB / 16.51 MB, free: 6.707 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.001242/0.001242, allocations: 190.5 kB / 17.43 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.204/1.204, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7956/0.7956, allocations: 119.3 MB / 410.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.4904 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4442, allocations: 80.68 MB / 0.5692 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.003286/0.4475, allocations: 2.455 MB / 0.5716 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007207/0.4483, allocations: 0.5278 MB / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.4484, allocations: 2.75 kB / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.4485, allocations: 27.91 kB / 0.5721 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.4487, allocations: 54.41 kB / 0.5722 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.4488, allocations: 50.83 kB / 0.5722 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02774/0.4765, allocations: 50.04 MB / 0.6211 GB, free: 12.5 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02304/0.4996, allocations: 19.46 MB / 0.6401 GB, free: 8.922 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02142/0.5211, allocations: 15.73 MB / 0.6554 GB, free: 9.133 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02546/0.5466, allocations: 18.13 MB / 0.6731 GB, free: 6.922 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.01025/0.5569, allocations: 2.375 MB / 0.6755 GB, free: 4.547 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0136/0.5705, allocations: 2.375 MB / 0.6778 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01214/0.5827, allocations: 7.254 MB / 0.6849 GB, free: 10.89 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0328/0.6155, allocations: 18.73 MB / 0.7032 GB, free: 8.062 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.05167/0.6672, allocations: 53.78 MB / 0.7557 GB, free: 2.129 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.6672, allocations: 0 / 0.7557 GB, free: 2.129 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6673, allocations: 4 kB / 0.7557 GB, free: 2.125 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002082/0.6693, allocations: 0 / 0.7557 GB, free: 2.125 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.5295/1.199, allocations: 51.1 MB / 0.8056 GB, free: 102.6 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.199, allocations: 12.03 kB / 0.8056 GB, free: 102.6 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01363/1.213, allocations: 4.631 MB / 0.8101 GB, free: 97.94 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/1.227, allocations: 4.003 MB / 0.814 GB, free: 93.89 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04416/1.271, allocations: 20.85 MB / 0.8344 GB, free: 72.91 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001917/1.273, allocations: 2.313 MB / 0.8366 GB, free: 70.59 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01121/1.284, allocations: 3 MB / 0.8396 GB, free: 67.59 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09296/1.377, allocations: 51.31 MB / 0.8897 GB, free: 16.23 MB / 0.5923 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001135/1.378, allocations: 3.938 kB / 0.8897 GB, free: 16.22 MB / 0.5923 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009932/1.388, allocations: 1.398 MB / 0.8911 GB, free: 14.82 MB / 0.5923 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004569/1.389, allocations: 0.75 MB / 0.8918 GB, free: 14.07 MB / 0.5923 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09374/1.482, allocations: 52.3 MB / 0.9429 GB, free: 9.734 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5734/2.056, allocations: 154.4 MB / 1.094 GB, free: 151.1 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05359/2.109, allocations: 46.08 MB / 1.139 GB, free: 130.2 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02647/2.136, allocations: 20.98 MB / 1.159 GB, free: 121.5 MB / 0.7173 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/2.137, allocations: 250.5 kB / 1.159 GB, free: 121.5 MB / 0.7173 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/2.138, allocations: 493.7 kB / 1.16 GB, free: 121.1 MB / 0.7173 GB Notification: Performance of pre-optimization done (n=2460): time 2.716e-05/2.138, allocations: 0 / 1.16 GB, free: 121.1 MB / 0.7173 GB Notification: Performance of matching and sorting (n=2460): time 0.0916/2.229, allocations: 60.8 MB / 1.219 GB, free: 63.85 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/2.229, allocations: 302.6 kB / 1.219 GB, free: 63.54 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05974/2.289, allocations: 34.06 MB / 1.253 GB, free: 29.82 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 0.004905/2.294, allocations: 0.5485 MB / 1.253 GB, free: 29.27 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.01158/2.306, allocations: 14.73 MB / 1.268 GB, free: 14.6 MB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 0.008328/2.314, allocations: 8.307 MB / 1.276 GB, free: 6.172 MB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02113/2.335, allocations: 5.489 MB / 1.281 GB, free: 0.6641 MB / 0.7173 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/2.335, allocations: 305.1 kB / 1.281 GB, free: 372 kB / 0.7173 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0305/2.366, allocations: 19.99 MB / 1.301 GB, free: 12.36 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3255/2.691, allocations: 24.3 MB / 1.325 GB, free: 222.6 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1054/2.797, allocations: 41.48 MB / 1.365 GB, free: 212.9 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002367/2.797, allocations: 26.56 kB / 1.365 GB, free: 212.9 MB / 0.7485 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1142/2.911, allocations: 66.5 MB / 1.43 GB, free: 167.6 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/2.911, allocations: 44 kB / 1.43 GB, free: 167.6 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/2.912, allocations: 88 kB / 1.43 GB, free: 167.5 MB / 0.7485 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/2.912, allocations: 168 kB / 1.43 GB, free: 167.3 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01549/2.927, allocations: 4.552 MB / 1.435 GB, free: 162.7 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001913/2.928, allocations: 223.9 kB / 1.435 GB, free: 162.5 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03568/2.963, allocations: 6.886 MB / 1.442 GB, free: 156 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006039/2.969, allocations: 0.9179 MB / 1.443 GB, free: 155.1 MB / 0.7485 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.02649/2.996, allocations: 12.36 MB / 1.455 GB, free: 142.7 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01116/3.007, allocations: 2.816 MB / 1.458 GB, free: 139.9 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009542/3.017, allocations: 4.375 MB / 1.462 GB, free: 135.5 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001247/3.017, allocations: 231.8 kB / 1.462 GB, free: 135.3 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006567/3.017, allocations: 232 kB / 1.462 GB, free: 135 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003581/3.018, allocations: 119.5 kB / 1.462 GB, free: 134.9 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05298/3.071, allocations: 30.95 MB / 1.493 GB, free: 103.9 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001094/3.071, allocations: 3.984 kB / 1.493 GB, free: 103.9 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006425/3.077, allocations: 1.903 MB / 1.494 GB, free: 102 MB / 0.7485 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/3.077, allocations: 24 kB / 1.494 GB, free: 102 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00387/3.081, allocations: 392 kB / 1.495 GB, free: 101.6 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.647e-05/3.081, allocations: 24 kB / 1.495 GB, free: 101.6 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/3.081, allocations: 0 / 1.495 GB, free: 101.6 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07446/3.156, allocations: 49.2 MB / 1.543 GB, free: 52.23 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01191/3.168, allocations: 4.479 MB / 1.547 GB, free: 47.7 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009603/3.177, allocations: 387.1 kB / 1.548 GB, free: 47.32 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03154/3.209, allocations: 8.493 MB / 1.556 GB, free: 38.82 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006253/3.215, allocations: 2.498 MB / 1.558 GB, free: 36.31 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00501/3.22, allocations: 0.7031 MB / 1.559 GB, free: 35.61 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.03911/3.259, allocations: 23.45 MB / 1.582 GB, free: 12.25 MB / 0.7485 GB Notification: Performance of sort global known variables: time 4.3e-07/3.259, allocations: 0 / 1.582 GB, free: 12.25 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.3393/3.599, allocations: 10.81 MB / 1.593 GB, free: 224.1 MB / 0.7485 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (822): * Single equations (assignments): 821 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.09998/3.699, allocations: 50.72 MB / 1.642 GB, free: 212.8 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.06685/3.766, allocations: 42.82 MB / 1.684 GB, free: 186.7 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 4.554e-05/3.766, allocations: 62.36 kB / 1.684 GB, free: 186.6 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.03466/3.8, allocations: 19.56 MB / 1.703 GB, free: 169.7 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04554/3.846, allocations: 7.422 MB / 1.71 GB, free: 162.2 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.645/6.491, allocations: 0.8473 GB / 2.558 GB, free: 330 MB / 0.8892 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02304/6.514, allocations: 21.4 MB / 2.578 GB, free: 326.6 MB / 0.8892 GB Notification: Performance of simCode: alias equations: time 0.03131/6.545, allocations: 13.59 MB / 2.592 GB, free: 324.7 MB / 0.8892 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01803/6.563, allocations: 12.88 MB / 2.604 GB, free: 313 MB / 0.8892 GB Notification: Performance of SimCode: time 1.022e-06/6.563, allocations: 0 / 2.604 GB, free: 313 MB / 0.8892 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/8.039, allocations: 0.6925 GB / 3.297 GB, free: 167.5 MB / 0.8892 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/8.039, allocations: 323.4 kB / 3.297 GB, free: 167.1 MB / 0.8892 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/27.63, allocations: 0 / 3.297 GB, free: 167.1 MB / 0.8892 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches