Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_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.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_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.001549/0.001549, allocations: 101.4 kB / 16.51 MB, free: 6.699 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.001556/0.001556, allocations: 194.2 kB / 17.42 MB, free: 6.09 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.208/1.208, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7701/0.7701, allocations: 119.3 MB / 410.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 59.91 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4282, allocations: 80.68 MB / 0.5692 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20): time 0.1215/0.5497, allocations: 172.6 MB / 0.7377 GB, free: 4.621 MB / 0.5764 GB Notification: Performance of NFInst.instExpressions: time 0.579/1.129, allocations: 36.41 MB / 0.7733 GB, free: 236 kB / 0.5923 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0343/1.163, allocations: 0.7477 MB / 0.774 GB, free: 236 kB / 0.5923 GB Notification: Performance of NFTyping.typeComponents: time 0.02546/1.189, allocations: 4.839 MB / 0.7787 GB, free: 236 kB / 0.5923 GB Notification: Performance of NFTyping.typeBindings: time 0.04711/1.236, allocations: 9.893 MB / 0.7884 GB, free: 108 kB / 0.5923 GB Notification: Performance of NFTyping.typeClassSections: time 0.0311/1.267, allocations: 8.196 MB / 0.7964 GB, free: 15.9 MB / 0.6079 GB Notification: Performance of NFFlatten.flatten: time 0.07075/1.338, allocations: 44.97 MB / 0.8403 GB, free: 9.086 MB / 0.6235 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0259/1.364, allocations: 10.55 MB / 0.8506 GB, free: 1.516 MB / 0.6235 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03252/1.396, allocations: 14.93 MB / 0.8652 GB, free: 2.578 MB / 0.6392 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02923/1.426, allocations: 17.37 MB / 0.8822 GB, free: 1.129 MB / 0.6548 GB Notification: Performance of NFPackage.collectConstants: time 0.01418/1.44, allocations: 2.375 MB / 0.8845 GB, free: 14.75 MB / 0.6704 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01877/1.459, allocations: 2.375 MB / 0.8868 GB, free: 12.38 MB / 0.6704 GB Notification: Performance of NFScalarize.scalarize: time 0.0125/1.471, allocations: 6.982 MB / 0.8936 GB, free: 5.367 MB / 0.6704 GB Notification: Performance of NFVerifyModel.verify: time 0.03578/1.507, allocations: 18.46 MB / 0.9116 GB, free: 2.809 MB / 0.686 GB Notification: Performance of NFConvertDAE.convert: time 0.05659/1.563, allocations: 40.9 MB / 0.9516 GB, free: 10.76 MB / 0.7329 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.564, allocations: 4 kB / 0.9516 GB, free: 10.76 MB / 0.7329 GB Notification: Performance of FrontEnd: time 2.174e-06/1.564, allocations: 0 / 0.9516 GB, free: 10.76 MB / 0.7329 GB Notification: Performance of Transformations before backend: time 0.002768/1.566, allocations: 0 / 0.9516 GB, free: 10.76 MB / 0.7329 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.08953/1.656, allocations: 36.69 MB / 0.9874 GB, free: 6.043 MB / 0.7642 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.656, allocations: 12.03 kB / 0.9874 GB, free: 6.031 MB / 0.7642 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01092/1.667, allocations: 4.138 MB / 0.9915 GB, free: 1.879 MB / 0.7642 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/1.678, allocations: 4.011 MB / 0.9954 GB, free: 13.82 MB / 0.7798 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03022/1.708, allocations: 12.66 MB / 1.008 GB, free: 1.406 MB / 0.7798 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002541/1.711, allocations: 2.315 MB / 1.01 GB, free: 15.1 MB / 0.7954 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006962/1.718, allocations: 3.004 MB / 1.013 GB, free: 12.09 MB / 0.7954 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06955/1.787, allocations: 25.14 MB / 1.037 GB, free: 2.938 MB / 0.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001158/1.788, allocations: 0 / 1.037 GB, free: 2.938 MB / 0.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007051/1.795, allocations: 1.402 MB / 1.039 GB, free: 1.535 MB / 0.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006344/1.796, allocations: 0.75 MB / 1.04 GB, free: 0.7852 MB / 0.811 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3147/2.111, allocations: 21.47 MB / 1.061 GB, free: 310.5 MB / 0.811 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1985/2.309, allocations: 93.52 MB / 1.152 GB, free: 249.3 MB / 0.811 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03806/2.347, allocations: 28.12 MB / 1.179 GB, free: 222.3 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01377/2.361, allocations: 10.77 MB / 1.19 GB, free: 211.5 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008815/2.362, allocations: 255.2 kB / 1.19 GB, free: 211.2 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/2.362, allocations: 0.4884 MB / 1.191 GB, free: 210.7 MB / 0.811 GB Notification: Performance of pre-optimization done (n=2460): time 2.938e-05/2.362, allocations: 0 / 1.191 GB, free: 210.7 MB / 0.811 GB Notification: Performance of matching and sorting (n=2460): time 0.06729/2.43, allocations: 31.61 MB / 1.221 GB, free: 179.1 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002176/2.43, allocations: 298.6 kB / 1.222 GB, free: 178.8 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04822/2.478, allocations: 19.71 MB / 1.241 GB, free: 159.2 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.00388/2.482, allocations: 0.5524 MB / 1.242 GB, free: 158.6 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.01011/2.492, allocations: 14.62 MB / 1.256 GB, free: 144 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.006331/2.499, allocations: 8.17 MB / 1.264 GB, free: 135.9 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0124/2.511, allocations: 4.352 MB / 1.268 GB, free: 131.5 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/2.511, allocations: 302.6 kB / 1.268 GB, free: 131.2 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01207/2.523, allocations: 7.381 MB / 1.276 GB, free: 123.8 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01469/2.538, allocations: 11.46 MB / 1.287 GB, free: 111.1 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06879/2.607, allocations: 19.24 MB / 1.306 GB, free: 90.63 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/2.607, allocations: 24 kB / 1.306 GB, free: 90.61 MB / 0.811 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.06606/2.673, allocations: 33.63 MB / 1.338 GB, free: 56.86 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 8.874e-05/2.673, allocations: 50.59 kB / 1.338 GB, free: 56.82 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/2.673, allocations: 91.94 kB / 1.339 GB, free: 56.73 MB / 0.811 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.0001357/2.673, allocations: 164 kB / 1.339 GB, free: 56.57 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01238/2.686, allocations: 3.163 MB / 1.342 GB, free: 53.4 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002398/2.686, allocations: 219.4 kB / 1.342 GB, free: 53.18 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02352/2.71, allocations: 2.756 MB / 1.345 GB, free: 50.39 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004026/2.714, allocations: 0.9062 MB / 1.346 GB, free: 49.49 MB / 0.811 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.01635/2.73, allocations: 3.443 MB / 1.349 GB, free: 46.03 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009304/2.739, allocations: 2.82 MB / 1.352 GB, free: 43.18 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00637/2.746, allocations: 2.753 MB / 1.354 GB, free: 40.41 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001284/2.746, allocations: 234.6 kB / 1.355 GB, free: 40.19 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006298/2.746, allocations: 232 kB / 1.355 GB, free: 39.96 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004072/2.747, allocations: 115.5 kB / 1.355 GB, free: 39.85 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0426/2.79, allocations: 21.49 MB / 1.376 GB, free: 18.57 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.579e-05/2.79, allocations: 0 / 1.376 GB, free: 18.57 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004662/2.794, allocations: 1.225 MB / 1.377 GB, free: 17.34 MB / 0.811 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 9.624e-05/2.794, allocations: 31.94 kB / 1.377 GB, free: 17.31 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002264/2.797, allocations: 380 kB / 1.377 GB, free: 16.94 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.256e-05/2.797, allocations: 28 kB / 1.378 GB, free: 16.91 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/2.797, allocations: 3.938 kB / 1.378 GB, free: 16.91 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3469/3.144, allocations: 27.05 MB / 1.404 GB, free: 280.8 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00959/3.153, allocations: 2.989 MB / 1.407 GB, free: 280.4 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009023/3.162, allocations: 385.8 kB / 1.407 GB, free: 280.1 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02513/3.188, allocations: 2.96 MB / 1.41 GB, free: 279.7 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005558/3.193, allocations: 2.505 MB / 1.413 GB, free: 279.5 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004422/3.198, allocations: 0.6999 MB / 1.413 GB, free: 279.3 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.02729/3.225, allocations: 13.03 MB / 1.426 GB, free: 274.8 MB / 0.811 GB Notification: Performance of sort global known variables: time 1.694e-06/3.225, allocations: 0 / 1.426 GB, free: 274.8 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.02803/3.253, allocations: 8.809 MB / 1.435 GB, free: 273.6 MB / 0.811 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.0605/3.313, allocations: 28.57 MB / 1.462 GB, free: 261.8 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.04447/3.358, allocations: 21.96 MB / 1.484 GB, free: 254.1 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-05/3.358, allocations: 58.73 kB / 1.484 GB, free: 254.1 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.02268/3.381, allocations: 11.33 MB / 1.495 GB, free: 246.9 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04575/3.427, allocations: 5.758 MB / 1.501 GB, free: 241.9 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.283/4.71, allocations: 0.6949 GB / 2.196 GB, free: 98.37 MB / 0.811 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01216/4.722, allocations: 11.02 MB / 2.206 GB, free: 96.82 MB / 0.811 GB Notification: Performance of simCode: alias equations: time 0.0205/4.742, allocations: 2.645 MB / 2.209 GB, free: 95.97 MB / 0.811 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01662/4.759, allocations: 14.09 MB / 2.223 GB, free: 83.93 MB / 0.811 GB Notification: Performance of SimCode: time 1.352e-06/4.759, allocations: 1.094 kB / 2.223 GB, free: 83.93 MB / 0.811 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.31/6.069, allocations: 0.5076 GB / 2.73 GB, free: 143.2 MB / 0.811 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/6.069, allocations: 337.6 kB / 2.731 GB, free: 142.8 MB / 0.811 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.45/26.52, allocations: 0 / 2.731 GB, free: 142.8 MB / 0.811 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches