Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.0007469/0.0007469, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0007235/0.0007235, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8069/0.8069, 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.5036/0.5036, allocations: 88.06 MB / 348.7 MB, free: 14.35 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.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.523 GB, free: 4.051 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.925e-06/9.207e-06, allocations: 2.281 kB / 0.523 GB, free: 4.047 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.001642/0.001651, allocations: 1.73 MB / 0.5247 GB, free: 2.305 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006824/0.002333, allocations: 0.5575 MB / 0.5252 GB, free: 1.742 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.002384, allocations: 0 / 0.5252 GB, free: 1.742 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.002489, allocations: 27.7 kB / 0.5253 GB, free: 1.715 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.00267, allocations: 71.47 kB / 0.5253 GB, free: 1.645 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.002878, allocations: 83.73 kB / 0.5254 GB, free: 1.562 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.003312, allocations: 0.679 MB / 0.5261 GB, free: 0.8789 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.003354, allocations: 12.94 kB / 0.5261 GB, free: 0.8711 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.003651, allocations: 343.4 kB / 0.5264 GB, free: 0.5352 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.003971, allocations: 291.5 kB / 0.5267 GB, free: 256 kB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.542e-05/0.004056, allocations: 44 kB / 0.5267 GB, free: 212 kB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.004125, allocations: 40 kB / 0.5268 GB, free: 172 kB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.004359, allocations: 159.5 kB / 0.5269 GB, free: 12 kB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.004539, allocations: 159.7 kB / 0.5271 GB, free: 15.85 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.004878, allocations: 0.5571 MB / 0.5276 GB, free: 15.29 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004881, allocations: 7.938 kB / 0.5276 GB, free: 15.29 MB / 458.8 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004881, allocations: 0 / 0.5276 GB, free: 15.29 MB / 458.8 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.004889, allocations: 0 / 0.5276 GB, free: 15.29 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.001123/0.006012, allocations: 0.8871 MB / 0.5285 GB, free: 14.37 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.006044, allocations: 8.031 kB / 0.5285 GB, free: 14.36 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.006103, allocations: 70.72 kB / 0.5286 GB, free: 14.28 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.00616, allocations: 48.64 kB / 0.5286 GB, free: 14.23 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.006474, allocations: 304.6 kB / 0.5289 GB, free: 13.91 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.006494, allocations: 32.97 kB / 0.5289 GB, free: 13.88 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.006624, allocations: 64.67 kB / 0.529 GB, free: 13.81 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.007147, allocations: 0.5256 MB / 0.5295 GB, free: 13.28 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.007162, allocations: 3.938 kB / 0.5295 GB, free: 13.27 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.007188, allocations: 19.98 kB / 0.5295 GB, free: 13.25 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.007209, allocations: 12.66 kB / 0.5295 GB, free: 13.24 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.0077, allocations: 0.4982 MB / 0.53 GB, free: 12.75 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.009577, allocations: 1.482 MB / 0.5315 GB, free: 11.22 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.01051, allocations: 0.8569 MB / 0.5323 GB, free: 10.35 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.01086, allocations: 371.4 kB / 0.5327 GB, free: 9.988 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.01088, allocations: 4.5 kB / 0.5327 GB, free: 9.984 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.01091, allocations: 39.06 kB / 0.5327 GB, free: 9.938 MB / 458.8 MB Notification: Performance of pre-optimization done (n=52): time 2.184e-06/0.01091, allocations: 0 / 0.5327 GB, free: 9.938 MB / 458.8 MB Notification: Performance of matching and sorting (n=52): time 0.001061/0.01197, allocations: 0.9904 MB / 0.5337 GB, free: 8.941 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.01201, allocations: 63.84 kB / 0.5337 GB, free: 8.867 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01222, allocations: 321.7 kB / 0.534 GB, free: 8.539 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.01226, allocations: 33.7 kB / 0.5341 GB, free: 8.5 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.01235, allocations: 181 kB / 0.5342 GB, free: 8.316 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.864e-05/0.01245, allocations: 218.2 kB / 0.5345 GB, free: 8.102 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.01258, allocations: 134.6 kB / 0.5346 GB, free: 7.961 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.01267, allocations: 354.8 kB / 0.5349 GB, free: 7.605 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.01305, allocations: 417.6 kB / 0.5353 GB, free: 7.199 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.01347, allocations: 0.4971 MB / 0.5358 GB, free: 6.68 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.01424, allocations: 0.8783 MB / 0.5367 GB, free: 5.777 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01424, allocations: 0 / 0.5367 GB, free: 5.777 MB / 458.8 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009207/0.01516, allocations: 1.024 MB / 0.5377 GB, free: 4.746 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01518, allocations: 8 kB / 0.5377 GB, free: 4.738 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01518, allocations: 0 / 0.5377 GB, free: 4.738 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.0152, allocations: 11.98 kB / 0.5377 GB, free: 4.727 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.01565, allocations: 219.7 kB / 0.5379 GB, free: 4.512 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.01566, allocations: 20.08 kB / 0.5379 GB, free: 4.492 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.01584, allocations: 87.56 kB / 0.538 GB, free: 4.406 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.01587, allocations: 27.94 kB / 0.538 GB, free: 4.379 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.0001503/0.01602, allocations: 213.6 kB / 0.5382 GB, free: 4.16 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.01606, allocations: 35.77 kB / 0.5383 GB, free: 4.125 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.01681, allocations: 0.8154 MB / 0.5391 GB, free: 3.309 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01682, allocations: 4 kB / 0.5391 GB, free: 3.305 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01682, allocations: 3.938 kB / 0.5391 GB, free: 3.301 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01683, allocations: 0 / 0.5391 GB, free: 3.301 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.01723, allocations: 496.8 kB / 0.5395 GB, free: 2.773 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01724, allocations: 4 kB / 0.5395 GB, free: 2.77 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.01775, allocations: 211.7 kB / 0.5397 GB, free: 2.562 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01775, allocations: 4 kB / 0.5397 GB, free: 2.559 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.01779, allocations: 27.97 kB / 0.5398 GB, free: 2.531 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01779, allocations: 4 kB / 0.5398 GB, free: 2.527 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01779, allocations: 3.938 kB / 0.5398 GB, free: 2.523 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.01882, allocations: 1.226 MB / 0.541 GB, free: 1.281 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.01897, allocations: 119.6 kB / 0.5411 GB, free: 1.164 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.01901, allocations: 23.98 kB / 0.5411 GB, free: 1.141 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.01917, allocations: 47.92 kB / 0.5412 GB, free: 1.094 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.01921, allocations: 40.38 kB / 0.5412 GB, free: 1.055 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.01923, allocations: 8 kB / 0.5412 GB, free: 1.047 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001315/0.01936, allocations: 229.1 kB / 0.5414 GB, free: 0.8242 MB / 458.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01936, allocations: 0 / 0.5414 GB, free: 0.8242 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002431/0.0196, allocations: 131.9 kB / 0.5415 GB, free: 0.6953 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.001386/0.02099, allocations: 1.792 MB / 0.5433 GB, free: 14.88 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0007613/0.02175, allocations: 0.8033 MB / 0.5441 GB, free: 14.07 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02175, allocations: 0 / 0.5441 GB, free: 14.07 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.02205, allocations: 362.6 kB / 0.5444 GB, free: 13.71 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.02226, allocations: 31.89 kB / 0.5445 GB, free: 13.69 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.02726, allocations: 6.501 MB / 0.5508 GB, free: 7.059 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.02742, allocations: 294 kB / 0.5511 GB, free: 6.75 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.02771, allocations: 247 kB / 0.5513 GB, free: 6.512 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.02789, allocations: 128.4 kB / 0.5514 GB, free: 6.387 MB / 474.8 MB Notification: Performance of SimCode: time 5.91e-07/0.02789, allocations: 0 / 0.5514 GB, free: 6.387 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.04705, allocations: 10.25 MB / 0.5615 GB, free: 12.33 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/6.959, allocations: 6.812 kB / 0.5615 GB, free: 12.33 MB / 490.8 MB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --stepSize=0.05 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.357163985259831]