Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_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.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_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.001814/0.001813, allocations: 104.7 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.002283/0.002283, allocations: 196 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.994/1.994, 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 1.313/1.313, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 66.64 kB / 0.5705 GB, free: 39.98 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2213, allocations: 80.68 MB / 0.6493 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.004349/0.2257, allocations: 2.41 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2272, allocations: 0.5376 MB / 0.6522 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.2274, allocations: 4 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.2277, allocations: 39.64 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.2279, allocations: 59.47 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.2281, allocations: 59.86 kB / 0.6523 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.01213/0.2403, allocations: 13.39 MB / 0.6654 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009541/0.2498, allocations: 5.567 MB / 0.6709 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008174/0.2581, allocations: 5.283 MB / 0.676 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.269, allocations: 5.413 MB / 0.6813 GB, free: 12.53 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.004216/0.2733, allocations: 0.9297 MB / 0.6822 GB, free: 11.6 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006449/0.2798, allocations: 0.9258 MB / 0.6831 GB, free: 10.67 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.007065/0.2869, allocations: 2.477 MB / 0.6855 GB, free: 8.188 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.01874/0.3057, allocations: 5.437 MB / 0.6908 GB, free: 2.727 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.02945/0.3352, allocations: 14.56 MB / 0.7051 GB, free: 4.133 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.3353, allocations: 0 / 0.7051 GB, free: 4.133 MB / 0.5452 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3353, allocations: 0 / 0.7051 GB, free: 4.133 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0007798/0.3361, allocations: 0 / 0.7051 GB, free: 4.133 MB / 0.5452 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.04435/0.3805, allocations: 12.93 MB / 0.7177 GB, free: 7.098 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.3806, allocations: 15.88 kB / 0.7177 GB, free: 7.082 MB / 0.5608 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006537/0.3871, allocations: 1.203 MB / 0.7189 GB, free: 5.867 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006509/0.3937, allocations: 1.036 MB / 0.7199 GB, free: 4.82 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01816/0.4118, allocations: 5.599 MB / 0.7254 GB, free: 15.14 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/0.4129, allocations: 0.5906 MB / 0.7259 GB, free: 14.54 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004182/0.4171, allocations: 0.7738 MB / 0.7267 GB, free: 13.77 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03693/0.4541, allocations: 13.12 MB / 0.7395 GB, free: 0.5938 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003682/0.4545, allocations: 0 / 0.7395 GB, free: 0.5938 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004426/0.459, allocations: 368 kB / 0.7398 GB, free: 240 kB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002785/0.4593, allocations: 204 kB / 0.74 GB, free: 36 kB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03879/0.4981, allocations: 13.33 MB / 0.7531 GB, free: 2.684 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.043/1.541, allocations: 38.73 MB / 0.7909 GB, free: 84.16 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02436/1.566, allocations: 11.27 MB / 0.8019 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/1.578, allocations: 5.317 MB / 0.8071 GB, free: 78.41 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/1.579, allocations: 63.81 kB / 0.8071 GB, free: 78.4 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/1.579, allocations: 147.7 kB / 0.8073 GB, free: 78.29 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 1.681e-05/1.579, allocations: 0 / 0.8073 GB, free: 78.29 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.03397/1.613, allocations: 15.45 MB / 0.8224 GB, free: 68.93 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/1.613, allocations: 116.3 kB / 0.8225 GB, free: 68.8 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/1.627, allocations: 8.776 MB / 0.831 GB, free: 60.05 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.00165/1.629, allocations: 161.7 kB / 0.8312 GB, free: 59.89 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.003049/1.632, allocations: 3.694 MB / 0.8348 GB, free: 56.25 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.002633/1.634, allocations: 2.129 MB / 0.8369 GB, free: 54.09 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003642/1.638, allocations: 1.407 MB / 0.8383 GB, free: 52.68 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/1.638, allocations: 305.1 kB / 0.8386 GB, free: 52.38 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01116/1.649, allocations: 5.093 MB / 0.8435 GB, free: 47.28 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01462/1.664, allocations: 6.186 MB / 0.8496 GB, free: 40.79 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02918/1.693, allocations: 10.57 MB / 0.8599 GB, free: 29.87 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.061e-05/1.693, allocations: 4 kB / 0.8599 GB, free: 29.87 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.03554/1.729, allocations: 16.88 MB / 0.8764 GB, free: 12.92 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/1.729, allocations: 16 kB / 0.8764 GB, free: 12.91 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.041e-05/1.729, allocations: 24 kB / 0.8764 GB, free: 12.88 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 9.12e-05/1.729, allocations: 44.88 kB / 0.8765 GB, free: 12.84 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004566/1.734, allocations: 1.115 MB / 0.8775 GB, free: 11.72 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.842e-05/1.734, allocations: 59.8 kB / 0.8776 GB, free: 11.66 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00941/1.743, allocations: 1.595 MB / 0.8792 GB, free: 10.06 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/1.745, allocations: 240 kB / 0.8794 GB, free: 9.824 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.008053/1.753, allocations: 3.225 MB / 0.8825 GB, free: 6.586 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003618/1.757, allocations: 0.7301 MB / 0.8833 GB, free: 5.848 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/1.76, allocations: 1.123 MB / 0.8844 GB, free: 4.715 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.423e-05/1.76, allocations: 56 kB / 0.8844 GB, free: 4.66 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000238/1.76, allocations: 64 kB / 0.8845 GB, free: 4.598 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001305/1.761, allocations: 31.88 kB / 0.8845 GB, free: 4.566 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02222/1.783, allocations: 7.986 MB / 0.8923 GB, free: 12.51 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.036e-05/1.783, allocations: 0 / 0.8923 GB, free: 12.51 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/1.786, allocations: 475.3 kB / 0.8927 GB, free: 12.05 MB / 0.6235 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 6.42e-05/1.786, allocations: 8 kB / 0.8928 GB, free: 12.04 MB / 0.6235 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001496/1.788, allocations: 100 kB / 0.8929 GB, free: 11.94 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.619e-05/1.788, allocations: 4 kB / 0.8929 GB, free: 11.94 MB / 0.6235 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/1.788, allocations: 4 kB / 0.8929 GB, free: 11.93 MB / 0.6235 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04525/1.833, allocations: 12.56 MB / 0.9051 GB, free: 15.25 MB / 0.6392 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005564/1.839, allocations: 1.202 MB / 0.9063 GB, free: 14.02 MB / 0.6392 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004362/1.843, allocations: 96 kB / 0.9064 GB, free: 13.93 MB / 0.6392 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01505/1.858, allocations: 1.967 MB / 0.9083 GB, free: 11.96 MB / 0.6392 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003286/1.862, allocations: 0.6477 MB / 0.9089 GB, free: 11.31 MB / 0.6392 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002328/1.864, allocations: 188 kB / 0.9091 GB, free: 11.12 MB / 0.6392 GB Notification: Performance of sorting global known variables: time 0.02132/1.886, allocations: 6.023 MB / 0.915 GB, free: 5.102 MB / 0.6392 GB Notification: Performance of sort global known variables: time 8.72e-07/1.886, allocations: 0 / 0.915 GB, free: 5.102 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.01622/1.902, allocations: 2.764 MB / 0.9177 GB, free: 2.332 MB / 0.6392 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.03571/1.938, allocations: 13.35 MB / 0.9307 GB, free: 4.848 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.03796/1.976, allocations: 11.05 MB / 0.9415 GB, free: 9.734 MB / 0.6704 GB Notification: Performance of simCode: created event and clocks part: time 3.678e-05/1.976, allocations: 14 kB / 0.9415 GB, free: 9.719 MB / 0.6704 GB Notification: Performance of simCode: created simulation system equations: time 0.01898/1.995, allocations: 5.054 MB / 0.9465 GB, free: 4.637 MB / 0.6704 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02176/2.017, allocations: 1.918 MB / 0.9484 GB, free: 2.723 MB / 0.6704 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2989/2.316, allocations: 91.64 MB / 1.038 GB, free: 6.047 MB / 0.7642 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01853/2.334, allocations: 5.962 MB / 1.044 GB, free: 40 kB / 0.7642 GB Notification: Performance of simCode: alias equations: time 0.01709/2.351, allocations: 3.167 MB / 1.047 GB, free: 12.86 MB / 0.7798 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00844/2.36, allocations: 2.952 MB / 1.05 GB, free: 9.91 MB / 0.7798 GB Notification: Performance of SimCode: time 1.663e-06/2.36, allocations: 0 / 1.05 GB, free: 9.91 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7581/3.118, allocations: 184.8 MB / 1.23 GB, free: 149.7 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.12/42.23, allocations: 4.188 kB / 1.23 GB, free: 149.7 MB / 0.7954 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches