Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.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_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",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.001342/0.001342, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001462/0.001462, allocations: 195 kB / 18 MB, free: 5.105 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9103/0.9103, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 61.41 kB / 0.5708 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1596, allocations: 80.71 MB / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.03871/0.1984, allocations: 46.01 MB / 0.6945 GB, free: 14.98 MB / 0.5452 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.2206, allocations: 9.57 MB / 0.7039 GB, free: 5.371 MB / 0.5452 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01075/0.2314, allocations: 195.4 kB / 0.7041 GB, free: 5.18 MB / 0.5452 GB Notification: Performance of NFTyping.typeComponents: time 0.007052/0.2386, allocations: 1.656 MB / 0.7057 GB, free: 3.508 MB / 0.5452 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.2515, allocations: 2.892 MB / 0.7085 GB, free: 0.5898 MB / 0.5452 GB Notification: Performance of NFTyping.typeClassSections: time 0.008702/0.2602, allocations: 2.461 MB / 0.7109 GB, free: 14.12 MB / 0.5608 GB Notification: Performance of NFFlatten.flatten: time 0.01948/0.2797, allocations: 12.04 MB / 0.7227 GB, free: 2.023 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006174/0.286, allocations: 3.177 MB / 0.7258 GB, free: 14.76 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008735/0.2947, allocations: 4.162 MB / 0.7298 GB, free: 10.59 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009494/0.3043, allocations: 4.651 MB / 0.7344 GB, free: 5.914 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.004583/0.3089, allocations: 0.9258 MB / 0.7353 GB, free: 4.988 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.314, allocations: 0.9219 MB / 0.7362 GB, free: 4.066 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.003294/0.3173, allocations: 2.121 MB / 0.7383 GB, free: 1.938 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.01066/0.328, allocations: 5.058 MB / 0.7432 GB, free: 12.85 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.3443, allocations: 11.09 MB / 0.754 GB, free: 1.73 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.3444, allocations: 0 / 0.754 GB, free: 1.73 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3444, allocations: 0 / 0.754 GB, free: 1.73 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.0005674/0.345, allocations: 0 / 0.754 GB, free: 1.73 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.02244/0.3674, allocations: 9.653 MB / 0.7635 GB, free: 7.98 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.3675, allocations: 15.89 kB / 0.7635 GB, free: 7.965 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001797/0.3693, allocations: 1.074 MB / 0.7645 GB, free: 6.879 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.3711, allocations: 1.036 MB / 0.7655 GB, free: 5.832 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/0.3788, allocations: 3.533 MB / 0.769 GB, free: 2.215 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004981/0.3793, allocations: 0.5945 MB / 0.7696 GB, free: 1.617 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/0.3808, allocations: 0.7699 MB / 0.7703 GB, free: 0.8477 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5888/0.9696, allocations: 6.47 MB / 0.7766 GB, free: 99.05 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.9698, allocations: 6.312 kB / 0.7766 GB, free: 99.05 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009317/0.9707, allocations: 368.7 kB / 0.777 GB, free: 98.79 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.9709, allocations: 200.9 kB / 0.7772 GB, free: 98.79 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.9844, allocations: 5.523 MB / 0.7826 GB, free: 96.83 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05036/1.035, allocations: 23.76 MB / 0.8058 GB, free: 82.25 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007378/1.042, allocations: 6.7 MB / 0.8123 GB, free: 78.23 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00316/1.045, allocations: 2.731 MB / 0.815 GB, free: 76.91 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/1.046, allocations: 64.94 kB / 0.815 GB, free: 76.9 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/1.046, allocations: 152.3 kB / 0.8152 GB, free: 76.79 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 8.696e-06/1.046, allocations: 0 / 0.8152 GB, free: 76.79 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.01194/1.058, allocations: 8.145 MB / 0.8231 GB, free: 70.95 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.058, allocations: 116.3 kB / 0.8233 GB, free: 70.82 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006249/1.064, allocations: 5.133 MB / 0.8283 GB, free: 65.67 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0006971/1.065, allocations: 161.7 kB / 0.8284 GB, free: 65.51 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/1.066, allocations: 3.623 MB / 0.832 GB, free: 61.88 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.068, allocations: 2.091 MB / 0.834 GB, free: 59.8 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/1.069, allocations: 1.121 MB / 0.8351 GB, free: 58.67 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.367e-05/1.069, allocations: 301.1 kB / 0.8354 GB, free: 58.38 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/1.072, allocations: 1.893 MB / 0.8372 GB, free: 56.48 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/1.075, allocations: 2.943 MB / 0.8401 GB, free: 53.23 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007602/1.082, allocations: 4.928 MB / 0.8449 GB, free: 47.95 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.703e-05/1.082, allocations: 8 kB / 0.8449 GB, free: 47.94 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01327/1.096, allocations: 8.638 MB / 0.8534 GB, free: 39.25 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/1.096, allocations: 19.94 kB / 0.8534 GB, free: 39.23 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.323e-05/1.096, allocations: 24 kB / 0.8534 GB, free: 39.21 MB / 0.6079 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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 6.936e-05/1.096, allocations: 44.88 kB / 0.8534 GB, free: 39.16 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/1.099, allocations: 0.8173 MB / 0.8542 GB, free: 38.35 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-05/1.099, allocations: 51.86 kB / 0.8543 GB, free: 38.3 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005728/1.105, allocations: 0.7179 MB / 0.855 GB, free: 37.57 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005554/1.106, allocations: 232 kB / 0.8552 GB, free: 37.34 MB / 0.6079 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002359/1.108, allocations: 0.9584 MB / 0.8562 GB, free: 36.38 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.109, allocations: 0.7263 MB / 0.8569 GB, free: 35.64 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008409/1.11, allocations: 0.7129 MB / 0.8576 GB, free: 34.92 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.11, allocations: 60 kB / 0.8576 GB, free: 34.86 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001847/1.11, allocations: 60 kB / 0.8577 GB, free: 34.8 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-05/1.11, allocations: 31.88 kB / 0.8577 GB, free: 34.77 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006261/1.117, allocations: 5.598 MB / 0.8632 GB, free: 29.18 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/1.117, allocations: 13.3 kB / 0.8632 GB, free: 29.18 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.118, allocations: 327.6 kB / 0.8635 GB, free: 28.86 MB / 0.6079 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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 2.337e-05/1.118, allocations: 7.938 kB / 0.8635 GB, free: 28.85 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/1.118, allocations: 100 kB / 0.8636 GB, free: 28.75 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/1.118, allocations: 7.984 kB / 0.8636 GB, free: 28.74 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.118, allocations: 4 kB / 0.8636 GB, free: 28.74 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.128, allocations: 7.033 MB / 0.8705 GB, free: 21.59 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.13, allocations: 0.8234 MB / 0.8713 GB, free: 20.73 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/1.132, allocations: 100.9 kB / 0.8714 GB, free: 20.64 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005977/1.138, allocations: 0.7728 MB / 0.8721 GB, free: 19.86 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009279/1.139, allocations: 0.6403 MB / 0.8728 GB, free: 19.22 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005181/1.139, allocations: 184 kB / 0.8729 GB, free: 19.04 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.004309/1.144, allocations: 3.381 MB / 0.8762 GB, free: 15.66 MB / 0.6079 GB Notification: Performance of sort global known variables: time 1e-07/1.144, allocations: 0 / 0.8762 GB, free: 15.66 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.004894/1.148, allocations: 2.267 MB / 0.8784 GB, free: 13.39 MB / 0.6079 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 (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01059/1.159, allocations: 7.81 MB / 0.8861 GB, free: 5.449 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.008872/1.168, allocations: 5.688 MB / 0.8916 GB, free: 15.7 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/1.168, allocations: 18.06 kB / 0.8916 GB, free: 15.68 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.004744/1.173, allocations: 2.968 MB / 0.8945 GB, free: 12.69 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006498/1.179, allocations: 1.532 MB / 0.896 GB, free: 11.16 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08234/1.262, allocations: 52.03 MB / 0.9469 GB, free: 6.176 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002574/1.264, allocations: 3.307 MB / 0.9501 GB, free: 2.824 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.003416/1.268, allocations: 0.6818 MB / 0.9507 GB, free: 2.137 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003343/1.271, allocations: 3.243 MB / 0.9539 GB, free: 14.91 MB / 0.686 GB Notification: Performance of SimCode: time 1.142e-06/1.271, allocations: 0 / 0.9539 GB, free: 14.91 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5475/1.819, allocations: 140.5 MB / 1.091 GB, free: 252.2 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.2/30.02, allocations: 22.44 kB / 1.091 GB, free: 252.2 MB / 0.7798 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches