Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008058/0.0008058, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8761/0.8761, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5944/0.5944, allocations: 88.06 MB / 348.8 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.523 GB, free: 4.023 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.495e-05, allocations: 2.281 kB / 0.523 GB, free: 4.02 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.002232/0.002257, allocations: 1.745 MB / 0.5247 GB, free: 2.27 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000862/0.003119, allocations: 0.5691 MB / 0.5253 GB, free: 1.695 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.003176, allocations: 0 / 0.5253 GB, free: 1.695 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003295, allocations: 19.78 kB / 0.5253 GB, free: 1.676 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.003502, allocations: 75.47 kB / 0.5254 GB, free: 1.602 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.003751, allocations: 87.73 kB / 0.5255 GB, free: 1.516 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.004325, allocations: 0.6712 MB / 0.5261 GB, free: 0.8398 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.004381, allocations: 16.92 kB / 0.5261 GB, free: 0.8281 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.004753, allocations: 355.3 kB / 0.5265 GB, free: 492 kB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.005192, allocations: 283.5 kB / 0.5267 GB, free: 208 kB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.005249, allocations: 40 kB / 0.5268 GB, free: 168 kB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.005297, allocations: 47.94 kB / 0.5268 GB, free: 120 kB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.005423, allocations: 151.5 kB / 0.527 GB, free: 15.97 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.005548, allocations: 163.6 kB / 0.5271 GB, free: 15.81 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.005893, allocations: 0.5571 MB / 0.5277 GB, free: 15.25 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.005897, allocations: 0 / 0.5277 GB, free: 15.25 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005898, allocations: 0 / 0.5277 GB, free: 15.25 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005904, allocations: 4 kB / 0.5277 GB, free: 15.25 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001274/0.007178, allocations: 0.8754 MB / 0.5285 GB, free: 14.34 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.007221, allocations: 16.03 kB / 0.5285 GB, free: 14.32 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.788e-05/0.007289, allocations: 74.72 kB / 0.5286 GB, free: 14.24 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.007356, allocations: 44.7 kB / 0.5287 GB, free: 14.2 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.007695, allocations: 304.6 kB / 0.5289 GB, free: 13.87 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.007715, allocations: 29.03 kB / 0.529 GB, free: 13.84 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.007869, allocations: 72.67 kB / 0.529 GB, free: 13.77 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.008419, allocations: 0.5256 MB / 0.5296 GB, free: 13.24 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.008436, allocations: 3.938 kB / 0.5296 GB, free: 13.23 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.008464, allocations: 8 kB / 0.5296 GB, free: 13.23 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.00849, allocations: 24.59 kB / 0.5296 GB, free: 13.2 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.009273, allocations: 0.4982 MB / 0.5301 GB, free: 12.71 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.01135, allocations: 1.486 MB / 0.5315 GB, free: 11.18 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/0.01232, allocations: 0.8573 MB / 0.5324 GB, free: 10.31 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.01273, allocations: 381.1 kB / 0.5327 GB, free: 9.938 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.01276, allocations: 4.5 kB / 0.5327 GB, free: 9.934 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.01278, allocations: 39.06 kB / 0.5328 GB, free: 9.887 MB / 458.8 MB Notification: Performance of pre-optimization done (n=52): time 2.645e-06/0.01278, allocations: 0 / 0.5328 GB, free: 9.887 MB / 458.8 MB Notification: Performance of matching and sorting (n=52): time 0.001027/0.01381, allocations: 0.9865 MB / 0.5337 GB, free: 8.895 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.01385, allocations: 59.84 kB / 0.5338 GB, free: 8.824 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.01407, allocations: 325.7 kB / 0.5341 GB, free: 8.492 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.01411, allocations: 41.69 kB / 0.5341 GB, free: 8.445 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.01421, allocations: 169 kB / 0.5343 GB, free: 8.273 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.01431, allocations: 222.2 kB / 0.5345 GB, free: 8.055 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.01445, allocations: 130.6 kB / 0.5346 GB, free: 7.918 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.01454, allocations: 362.8 kB / 0.535 GB, free: 7.555 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.01493, allocations: 409.6 kB / 0.5354 GB, free: 7.156 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.01542, allocations: 0.4933 MB / 0.5359 GB, free: 6.641 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/0.0162, allocations: 0.8782 MB / 0.5367 GB, free: 5.738 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.01621, allocations: 4 kB / 0.5367 GB, free: 5.734 MB / 458.8 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001232/0.01744, allocations: 1.028 MB / 0.5377 GB, free: 4.699 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.01746, allocations: 8 kB / 0.5377 GB, free: 4.691 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01747, allocations: 3.938 kB / 0.5377 GB, free: 4.688 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.01748, allocations: 7.938 kB / 0.5377 GB, free: 4.68 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.01804, allocations: 227.7 kB / 0.538 GB, free: 4.457 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.01805, allocations: 7.938 kB / 0.538 GB, free: 4.449 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.01826, allocations: 95.77 kB / 0.5381 GB, free: 4.355 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.01829, allocations: 20 kB / 0.5381 GB, free: 4.336 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.01846, allocations: 217.6 kB / 0.5383 GB, free: 4.113 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.01851, allocations: 39.7 kB / 0.5383 GB, free: 4.074 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.01931, allocations: 0.8076 MB / 0.5391 GB, free: 3.266 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.01931, allocations: 4 kB / 0.5391 GB, free: 3.262 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01932, allocations: 3.938 kB / 0.5391 GB, free: 3.258 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01932, allocations: 3.984 kB / 0.5391 GB, free: 3.254 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.01977, allocations: 0.489 MB / 0.5396 GB, free: 2.723 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01977, allocations: 0 / 0.5396 GB, free: 2.723 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.02031, allocations: 203.8 kB / 0.5398 GB, free: 2.523 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.02031, allocations: 4 kB / 0.5398 GB, free: 2.52 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.02036, allocations: 35.97 kB / 0.5398 GB, free: 2.484 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.02036, allocations: 0 / 0.5398 GB, free: 2.484 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.02036, allocations: 7.938 kB / 0.5398 GB, free: 2.477 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.0215, allocations: 1.225 MB / 0.541 GB, free: 1.234 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.02167, allocations: 119.6 kB / 0.5411 GB, free: 1.117 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.02172, allocations: 31.97 kB / 0.5412 GB, free: 1.086 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.02189, allocations: 39.94 kB / 0.5412 GB, free: 1.047 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.02194, allocations: 40.36 kB / 0.5413 GB, free: 1.008 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.02196, allocations: 19.98 kB / 0.5413 GB, free: 0.9883 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001448/0.0221, allocations: 221.2 kB / 0.5415 GB, free: 0.7734 MB / 458.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0221, allocations: 0 / 0.5415 GB, free: 0.7734 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002965/0.0224, allocations: 127.9 kB / 0.5416 GB, free: 0.6484 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].err_p_int) * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00132/0.02372, allocations: 1.796 MB / 0.5434 GB, free: 14.82 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.02484, allocations: 0.8036 MB / 0.5441 GB, free: 14.02 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02485, allocations: 0 / 0.5441 GB, free: 14.02 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.02515, allocations: 362.5 kB / 0.5445 GB, free: 13.66 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.02539, allocations: 28.92 kB / 0.5445 GB, free: 13.64 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005571/0.03096, allocations: 6.493 MB / 0.5509 GB, free: 7.016 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.03152, allocations: 298 kB / 0.5511 GB, free: 6.703 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0003343/0.03186, allocations: 254.9 kB / 0.5514 GB, free: 6.457 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.03204, allocations: 128.5 kB / 0.5515 GB, free: 6.332 MB / 474.8 MB Notification: Performance of SimCode: time 1.302e-06/0.03204, allocations: 3.938 kB / 0.5515 GB, free: 6.328 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.0532, allocations: 10.23 MB / 0.5615 GB, free: 12.31 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/6.683, allocations: 7.984 kB / 0.5615 GB, free: 12.3 MB / 490.8 MB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4_fmu --startTime=0 --stopTime=200 --stepSize=0.05 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.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: 9.36423257458955]