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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.789/0.789, allocations: 120.6 MB / 424.6 MB, free: 5.559 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 67.89 kB / 0.5933 GB, free: 3.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.6492, allocations: 84.66 MB / 0.6759 GB, free: 16.41 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.003947/0.6532, allocations: 2.41 MB / 0.6783 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.6543, allocations: 0.5369 MB / 0.6788 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.6546, allocations: 4.125 kB / 0.6788 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.6547, allocations: 38.39 kB / 0.6789 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.655, allocations: 75.59 kB / 0.6789 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.6552, allocations: 53.42 kB / 0.679 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.00973/0.6649, allocations: 13.34 MB / 0.692 GB, free: 6.215 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005508/0.6704, allocations: 4.488 MB / 0.6964 GB, free: 4.117 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008147/0.6786, allocations: 5.287 MB / 0.7016 GB, free: 0.9531 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.6901, allocations: 5.421 MB / 0.7068 GB, free: 11.51 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.003733/0.6938, allocations: 0.9258 MB / 0.7078 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005418/0.6992, allocations: 0.9219 MB / 0.7087 GB, free: 9.66 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.004983/0.7042, allocations: 2.485 MB / 0.7111 GB, free: 7.168 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.7166, allocations: 5.433 MB / 0.7164 GB, free: 1.711 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.02107/0.7377, allocations: 14.61 MB / 0.7306 GB, free: 3.055 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.7377, allocations: 0 / 0.7306 GB, free: 3.055 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7377, allocations: 0 / 0.7306 GB, free: 3.055 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0007011/0.7384, allocations: 0 / 0.7306 GB, free: 3.055 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.03765/0.7761, allocations: 13.18 MB / 0.7435 GB, free: 5.754 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.7761, allocations: 15.89 kB / 0.7435 GB, free: 5.738 MB / 0.5608 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0046/0.7807, allocations: 1.199 MB / 0.7447 GB, free: 4.527 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004767/0.7855, allocations: 1.084 MB / 0.7458 GB, free: 3.438 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/0.805, allocations: 5.63 MB / 0.7513 GB, free: 13.72 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008324/0.8058, allocations: 0.5945 MB / 0.7519 GB, free: 13.12 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/0.8091, allocations: 0.7776 MB / 0.7526 GB, free: 12.35 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0308/0.8399, allocations: 13.11 MB / 0.7654 GB, free: 15.18 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003063/0.8402, allocations: 0 / 0.7654 GB, free: 15.18 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002753/0.8429, allocations: 372 kB / 0.7658 GB, free: 14.81 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/0.8431, allocations: 196 kB / 0.766 GB, free: 14.62 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02675/0.8699, allocations: 13.33 MB / 0.779 GB, free: 1.266 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09761/0.9675, allocations: 38.81 MB / 0.8169 GB, free: 9.715 MB / 0.6389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01804/0.9855, allocations: 10.66 MB / 0.8273 GB, free: 15.05 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00897/0.9945, allocations: 4.848 MB / 0.832 GB, free: 10.2 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004553/0.995, allocations: 72.86 kB / 0.8321 GB, free: 10.12 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.9951, allocations: 149.5 kB / 0.8322 GB, free: 9.961 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=630): time 2.197e-05/0.9952, allocations: 4 kB / 0.8322 GB, free: 9.957 MB / 0.6545 GB Notification: Performance of matching and sorting (n=630): time 0.03088/1.026, allocations: 15.29 MB / 0.8472 GB, free: 10.58 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/1.026, allocations: 112.3 kB / 0.8473 GB, free: 10.45 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01833/1.045, allocations: 8.776 MB / 0.8558 GB, free: 1.664 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.001517/1.046, allocations: 161.7 kB / 0.856 GB, free: 1.5 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.004387/1.05, allocations: 3.791 MB / 0.8597 GB, free: 13.68 MB / 0.6858 GB Notification: Performance of collectInitialBindings (initialization): time 0.003153/1.054, allocations: 2.227 MB / 0.8619 GB, free: 11.44 MB / 0.6858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00602/1.06, allocations: 1.419 MB / 0.8633 GB, free: 10.01 MB / 0.6858 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.06, allocations: 305.1 kB / 0.8635 GB, free: 9.711 MB / 0.6858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00984/1.07, allocations: 5.089 MB / 0.8685 GB, free: 4.617 MB / 0.6858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0125/1.082, allocations: 6.19 MB / 0.8746 GB, free: 14.12 MB / 0.7014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02092/1.103, allocations: 10.57 MB / 0.8849 GB, free: 3.195 MB / 0.7014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.043e-05/1.103, allocations: 4 kB / 0.8849 GB, free: 3.191 MB / 0.7014 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.0377/1.141, allocations: 16.72 MB / 0.9012 GB, free: 2.41 MB / 0.717 GB Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/1.141, allocations: 16 kB / 0.9012 GB, free: 2.395 MB / 0.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.823e-05/1.141, allocations: 23.94 kB / 0.9013 GB, free: 2.371 MB / 0.717 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.635e-05/1.141, allocations: 47.94 kB / 0.9013 GB, free: 2.324 MB / 0.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004785/1.146, allocations: 1.119 MB / 0.9024 GB, free: 1.203 MB / 0.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001217/1.146, allocations: 51.86 kB / 0.9024 GB, free: 1.152 MB / 0.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6644/1.81, allocations: 1.612 MB / 0.904 GB, free: 186.6 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/1.812, allocations: 244.9 kB / 0.9042 GB, free: 186.6 MB / 0.7173 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.009159/1.821, allocations: 3.231 MB / 0.9074 GB, free: 186.5 MB / 0.7173 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003838/1.825, allocations: 0.7594 MB / 0.9081 GB, free: 186.5 MB / 0.7173 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/1.828, allocations: 1.12 MB / 0.9092 GB, free: 186.4 MB / 0.7173 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-05/1.829, allocations: 59.53 kB / 0.9093 GB, free: 186.4 MB / 0.7173 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002461/1.829, allocations: 60.11 kB / 0.9094 GB, free: 186.4 MB / 0.7173 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000147/1.829, allocations: 32.7 kB / 0.9094 GB, free: 186.4 MB / 0.7173 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/1.848, allocations: 7.993 MB / 0.9172 GB, free: 184.6 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.202e-05/1.848, allocations: 0.9062 kB / 0.9172 GB, free: 184.6 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.85, allocations: 474.8 kB / 0.9176 GB, free: 184.5 MB / 0.7173 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 4.567e-05/1.85, allocations: 11.41 kB / 0.9177 GB, free: 184.5 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/1.851, allocations: 106.2 kB / 0.9178 GB, free: 184.4 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.65e-05/1.851, allocations: 10.88 kB / 0.9178 GB, free: 184.4 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.851, allocations: 0 / 0.9178 GB, free: 184.4 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02565/1.876, allocations: 12.39 MB / 0.9299 GB, free: 180.9 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004788/1.881, allocations: 1.236 MB / 0.9311 GB, free: 180.4 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00344/1.885, allocations: 100.2 kB / 0.9312 GB, free: 180.3 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009858/1.894, allocations: 1.965 MB / 0.9331 GB, free: 180.1 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002079/1.896, allocations: 0.6428 MB / 0.9337 GB, free: 180.1 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001618/1.898, allocations: 188.5 kB / 0.9339 GB, free: 180 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.01085/1.909, allocations: 6.028 MB / 0.9398 GB, free: 178.5 MB / 0.7173 GB Notification: Performance of sort global known variables: time 4.11e-07/1.909, allocations: 0 / 0.9398 GB, free: 178.5 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.00971/1.919, allocations: 2.79 MB / 0.9425 GB, free: 178.1 MB / 0.7173 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.02453/1.943, allocations: 13.17 MB / 0.9554 GB, free: 167.7 MB / 0.7173 GB Notification: Performance of simCode: created initialization part: time 0.0173/1.96, allocations: 10.65 MB / 0.9658 GB, free: 157 MB / 0.7173 GB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/1.96, allocations: 14 kB / 0.9658 GB, free: 157 MB / 0.7173 GB Notification: Performance of simCode: created simulation system equations: time 0.008139/1.969, allocations: 4.749 MB / 0.9704 GB, free: 152.2 MB / 0.7173 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01365/1.982, allocations: 1.924 MB / 0.9723 GB, free: 150.3 MB / 0.7173 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1467/2.129, allocations: 91.52 MB / 1.062 GB, free: 57.73 MB / 0.7173 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006546/2.136, allocations: 5.963 MB / 1.067 GB, free: 51.72 MB / 0.7173 GB Notification: Performance of simCode: alias equations: time 0.006642/2.142, allocations: 3.167 MB / 1.071 GB, free: 48.54 MB / 0.7173 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004106/2.146, allocations: 2.952 MB / 1.073 GB, free: 45.59 MB / 0.7173 GB Notification: Performance of SimCode: time 1.242e-06/2.146, allocations: 4 kB / 1.073 GB, free: 45.59 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6512/2.798, allocations: 183.4 MB / 1.253 GB, free: 264.5 MB / 0.811 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.59/32.39, allocations: 12.91 kB / 1.253 GB, free: 264.5 MB / 0.811 GB " [Timeout remaining time 267] (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 --stepSize=0.001 --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) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 38.74400894995779]