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.00153/0.00153, allocations: 105 kB / 16.92 MB, free: 5.855 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.001741/0.001742, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.282/1.282, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9372/0.9372, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 71.89 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5499, allocations: 80.68 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.003467/0.5534, allocations: 2.398 MB / 0.5722 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.5543, allocations: 0.5341 MB / 0.5727 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.5544, allocations: 4.344 kB / 0.5727 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.5545, allocations: 39.23 kB / 0.5728 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.5547, allocations: 66.47 kB / 0.5728 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.5548, allocations: 54.08 kB / 0.5729 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.03255/0.5874, allocations: 51.88 MB / 0.6235 GB, free: 10.46 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03276/0.6202, allocations: 22.73 MB / 0.6457 GB, free: 3.605 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03143/0.6517, allocations: 20.57 MB / 0.6658 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03803/0.6897, allocations: 21.11 MB / 0.6864 GB, free: 9.789 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.01578/0.7055, allocations: 3.602 MB / 0.69 GB, free: 6.188 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02323/0.7288, allocations: 3.602 MB / 0.6935 GB, free: 2.586 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02388/0.7527, allocations: 9.693 MB / 0.7029 GB, free: 8.859 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.04792/0.8007, allocations: 21.17 MB / 0.7236 GB, free: 3.598 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.6284/1.429, allocations: 56.35 MB / 0.7786 GB, free: 100.8 MB / 0.5923 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/1.429, allocations: 3.5 kB / 0.7786 GB, free: 100.8 MB / 0.5923 GB Notification: Performance of FrontEnd: time 1.713e-06/1.429, allocations: 0 / 0.7786 GB, free: 100.8 MB / 0.5923 GB Notification: Performance of Transformations before backend: time 0.002524/1.432, allocations: 0 / 0.7786 GB, free: 100.8 MB / 0.5923 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.1448/1.577, allocations: 51.11 MB / 0.8285 GB, free: 70.41 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/1.577, allocations: 11.89 kB / 0.8286 GB, free: 70.4 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02444/1.601, allocations: 4.631 MB / 0.8331 GB, free: 65.75 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02662/1.628, allocations: 4.007 MB / 0.837 GB, free: 61.7 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05914/1.687, allocations: 20.85 MB / 0.8573 GB, free: 41.86 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002142/1.689, allocations: 2.317 MB / 0.8596 GB, free: 39.54 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01466/1.704, allocations: 3 MB / 0.8625 GB, free: 36.54 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1218/1.826, allocations: 51.31 MB / 0.9126 GB, free: 1.18 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001468/1.827, allocations: 0 / 0.9126 GB, free: 1.18 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01571/1.843, allocations: 1.407 MB / 0.914 GB, free: 15.79 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007077/1.844, allocations: 0.75 MB / 0.9148 GB, free: 15.04 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1099/1.954, allocations: 52.3 MB / 0.9658 GB, free: 10.7 MB / 0.6704 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6833/2.637, allocations: 154.4 MB / 1.117 GB, free: 156.2 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06008/2.697, allocations: 46.07 MB / 1.162 GB, free: 122.9 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02865/2.726, allocations: 20.98 MB / 1.182 GB, free: 101.9 MB / 0.7173 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/2.727, allocations: 251.2 kB / 1.182 GB, free: 101.7 MB / 0.7173 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004612/2.727, allocations: 496.2 kB / 1.183 GB, free: 101.2 MB / 0.7173 GB Notification: Performance of pre-optimization done (n=2460): time 2.817e-05/2.727, allocations: 0 / 1.183 GB, free: 101.2 MB / 0.7173 GB Notification: Performance of matching and sorting (n=2460): time 0.1/2.827, allocations: 60.8 MB / 1.242 GB, free: 41.77 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/2.828, allocations: 302.6 kB / 1.242 GB, free: 41.46 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0503/2.878, allocations: 34.06 MB / 1.276 GB, free: 7.676 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 0.005597/2.884, allocations: 0.5485 MB / 1.276 GB, free: 7.121 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.01147/2.895, allocations: 14.73 MB / 1.291 GB, free: 8.449 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.01045/2.906, allocations: 8.311 MB / 1.299 GB, free: 20 kB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01868/2.924, allocations: 5.494 MB / 1.304 GB, free: 10.51 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 0.0001054/2.924, allocations: 301.1 kB / 1.304 GB, free: 10.21 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3689/3.293, allocations: 19.98 MB / 1.324 GB, free: 230.8 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03892/3.332, allocations: 24.3 MB / 1.348 GB, free: 227.2 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1111/3.443, allocations: 41.49 MB / 1.388 GB, free: 211.7 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002278/3.444, allocations: 28 kB / 1.388 GB, free: 211.7 MB / 0.7485 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1476/3.591, allocations: 66.49 MB / 1.453 GB, free: 152.9 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/3.591, allocations: 44 kB / 1.453 GB, free: 152.8 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002037/3.592, allocations: 88 kB / 1.453 GB, free: 152.8 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.0001771/3.592, allocations: 168 kB / 1.453 GB, free: 152.6 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0191/3.611, allocations: 4.558 MB / 1.458 GB, free: 148 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003045/3.611, allocations: 224.2 kB / 1.458 GB, free: 147.8 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04379/3.655, allocations: 6.879 MB / 1.465 GB, free: 141.2 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008554/3.664, allocations: 0.9178 MB / 1.466 GB, free: 140.3 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.03119/3.695, allocations: 12.36 MB / 1.478 GB, free: 127.9 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01512/3.71, allocations: 2.812 MB / 1.481 GB, free: 125.1 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/3.723, allocations: 4.378 MB / 1.485 GB, free: 120.7 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001502/3.723, allocations: 232 kB / 1.485 GB, free: 120.5 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007423/3.724, allocations: 232 kB / 1.485 GB, free: 120.2 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005295/3.724, allocations: 115.5 kB / 1.485 GB, free: 120.1 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07355/3.798, allocations: 30.95 MB / 1.516 GB, free: 89.18 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001524/3.798, allocations: 0 / 1.516 GB, free: 89.18 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00746/3.805, allocations: 1.907 MB / 1.517 GB, free: 87.27 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.0001248/3.806, allocations: 28 kB / 1.517 GB, free: 87.24 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005103/3.811, allocations: 384 kB / 1.518 GB, free: 86.86 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001077/3.811, allocations: 30.81 kB / 1.518 GB, free: 86.84 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/3.811, allocations: 3.984 kB / 1.518 GB, free: 86.83 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1046/3.915, allocations: 49.2 MB / 1.566 GB, free: 37.51 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01255/3.928, allocations: 4.483 MB / 1.57 GB, free: 32.97 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01259/3.941, allocations: 384 kB / 1.571 GB, free: 32.59 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03991/3.981, allocations: 8.497 MB / 1.579 GB, free: 24.09 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008009/3.989, allocations: 2.495 MB / 1.581 GB, free: 21.59 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00597/3.995, allocations: 0.7031 MB / 1.582 GB, free: 20.88 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.3813/4.376, allocations: 23.44 MB / 1.605 GB, free: 220.9 MB / 0.7485 GB Notification: Performance of sort global known variables: time 7.31e-07/4.376, allocations: 0 / 1.605 GB, free: 220.9 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.04068/4.417, allocations: 10.82 MB / 1.616 GB, free: 219.8 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.1093/4.526, allocations: 50.73 MB / 1.665 GB, free: 204.2 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.7056/5.232, allocations: 287.8 MB / 1.946 GB, free: 220.7 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 6.769e-05/5.232, allocations: 58.42 kB / 1.946 GB, free: 220.6 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.04143/5.273, allocations: 19.57 MB / 1.965 GB, free: 204.3 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05968/5.333, allocations: 7.622 MB / 1.973 GB, free: 198.2 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.499/6.832, allocations: 0.8361 GB / 2.809 GB, free: 2.305 MB / 0.8735 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3556/7.188, allocations: 21.44 MB / 2.83 GB, free: 347.6 MB / 0.8735 GB Notification: Performance of simCode: alias equations: time 0.04134/7.229, allocations: 13.58 MB / 2.843 GB, free: 346.4 MB / 0.8735 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03326/7.262, allocations: 12.88 MB / 2.856 GB, free: 338 MB / 0.8735 GB Notification: Performance of SimCode: time 9.22e-07/7.262, allocations: 0 / 2.856 GB, free: 338 MB / 0.8735 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.567/8.83, allocations: 0.6842 GB / 3.54 GB, free: 196.3 MB / 0.8735 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.28/36.11, allocations: 6 kB / 3.54 GB, free: 196.3 MB / 0.8735 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches