Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.0007907/0.0007907, 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.0007462/0.0007462, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8214/0.8214, 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.5967/0.5967, allocations: 88.07 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.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.523 GB, free: 4.047 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.608e-05, allocations: 7.828 kB / 0.523 GB, free: 4.039 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002031/0.002047, allocations: 1.719 MB / 0.5247 GB, free: 2.309 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007879/0.002835, allocations: 0.5614 MB / 0.5252 GB, free: 1.742 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.002892, allocations: 7.875 kB / 0.5252 GB, free: 1.734 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.003006, allocations: 27.77 kB / 0.5253 GB, free: 1.707 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.003215, allocations: 67.48 kB / 0.5253 GB, free: 1.641 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.003453, allocations: 83.73 kB / 0.5254 GB, free: 1.559 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.003762, allocations: 359.5 kB / 0.5257 GB, free: 1.203 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.003804, allocations: 9.812 kB / 0.5258 GB, free: 1.195 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.004043, allocations: 191.6 kB / 0.5259 GB, free: 1.008 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.004232, allocations: 155.6 kB / 0.5261 GB, free: 0.8555 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.004265, allocations: 23.94 kB / 0.5261 GB, free: 0.832 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.004292, allocations: 23.94 kB / 0.5261 GB, free: 0.8086 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.004375, allocations: 79.77 kB / 0.5262 GB, free: 0.7305 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.004441, allocations: 79.81 kB / 0.5263 GB, free: 0.6523 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0008717/0.005313, allocations: 283.2 kB / 0.5266 GB, free: 384 kB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.005319, allocations: 4 kB / 0.5266 GB, free: 380 kB / 442.8 MB Notification: Performance of FrontEnd: time 2.364e-06/0.005321, allocations: 4 kB / 0.5266 GB, free: 376 kB / 442.8 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.005329, allocations: 0 / 0.5266 GB, free: 376 kB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001194/0.006523, allocations: 0.5483 MB / 0.5271 GB, free: 15.79 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.934e-05/0.006602, allocations: 12.03 kB / 0.5271 GB, free: 15.77 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.717e-05/0.006669, allocations: 46.73 kB / 0.5272 GB, free: 15.72 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.006736, allocations: 24.8 kB / 0.5272 GB, free: 15.7 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.007139, allocations: 217.8 kB / 0.5274 GB, free: 15.46 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.007168, allocations: 12.7 kB / 0.5274 GB, free: 15.45 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.007276, allocations: 36.5 kB / 0.5274 GB, free: 15.41 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.007578, allocations: 305.9 kB / 0.5277 GB, free: 15.1 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.00759, allocations: 192 / 0.5277 GB, free: 15.1 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.007608, allocations: 7.938 kB / 0.5277 GB, free: 15.09 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.007632, allocations: 15.73 kB / 0.5278 GB, free: 15.08 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.007881, allocations: 236.4 kB / 0.528 GB, free: 14.85 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.009162, allocations: 1.018 MB / 0.529 GB, free: 13.77 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.009705, allocations: 435.1 kB / 0.5294 GB, free: 13.34 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.009852, allocations: 164.7 kB / 0.5295 GB, free: 13.18 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.009866, allocations: 0 / 0.5295 GB, free: 13.18 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.009884, allocations: 42.42 kB / 0.5296 GB, free: 13.12 MB / 458.8 MB Notification: Performance of pre-optimization done (n=23): time 9.82e-07/0.009885, allocations: 0 / 0.5296 GB, free: 13.12 MB / 458.8 MB Notification: Performance of matching and sorting (n=23): time 0.0004995/0.01038, allocations: 476.4 kB / 0.53 GB, free: 12.65 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.01042, allocations: 55.41 kB / 0.5301 GB, free: 12.59 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.01055, allocations: 223.5 kB / 0.5303 GB, free: 12.36 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.01057, allocations: 37.7 kB / 0.5303 GB, free: 12.32 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.01063, allocations: 132.5 kB / 0.5305 GB, free: 12.18 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.01067, allocations: 95.23 kB / 0.5306 GB, free: 12.09 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.01075, allocations: 73.47 kB / 0.5306 GB, free: 12.01 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.01083, allocations: 334.8 kB / 0.5309 GB, free: 11.68 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.01101, allocations: 191.8 kB / 0.5311 GB, free: 11.49 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.01122, allocations: 244.1 kB / 0.5314 GB, free: 11.23 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.01161, allocations: 419.8 kB / 0.5318 GB, free: 10.81 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.01162, allocations: 4 kB / 0.5318 GB, free: 10.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005581/0.01217, allocations: 0.5007 MB / 0.5323 GB, free: 10.3 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.0122, allocations: 7.938 kB / 0.5323 GB, free: 10.29 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.01222, allocations: 7.938 kB / 0.5323 GB, free: 10.28 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/0.01225, allocations: 3.984 kB / 0.5323 GB, free: 10.28 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.01249, allocations: 111.9 kB / 0.5324 GB, free: 10.17 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.0125, allocations: 4 kB / 0.5324 GB, free: 10.16 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.01259, allocations: 39.75 kB / 0.5324 GB, free: 10.12 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01261, allocations: 12 kB / 0.5324 GB, free: 10.11 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * 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.0001004/0.01271, allocations: 157.7 kB / 0.5326 GB, free: 9.949 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.01273, allocations: 19.92 kB / 0.5326 GB, free: 9.93 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.01278, allocations: 53.84 kB / 0.5327 GB, free: 9.883 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01279, allocations: 0 / 0.5327 GB, free: 9.883 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01279, allocations: 7.984 kB / 0.5327 GB, free: 9.875 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.0128, allocations: 0 / 0.5327 GB, free: 9.875 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.01304, allocations: 304.4 kB / 0.533 GB, free: 9.535 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.01304, allocations: 0 / 0.533 GB, free: 9.535 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.0133, allocations: 99.91 kB / 0.533 GB, free: 9.438 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.0133, allocations: 0 / 0.533 GB, free: 9.438 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.01332, allocations: 23.92 kB / 0.5331 GB, free: 9.414 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.01332, allocations: 0 / 0.5331 GB, free: 9.414 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.01332, allocations: 4 kB / 0.5331 GB, free: 9.41 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.01399, allocations: 0.6152 MB / 0.5337 GB, free: 8.781 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.01406, allocations: 55.81 kB / 0.5337 GB, free: 8.727 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.01409, allocations: 19.92 kB / 0.5337 GB, free: 8.707 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.01417, allocations: 15.97 kB / 0.5338 GB, free: 8.691 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.0142, allocations: 15.97 kB / 0.5338 GB, free: 8.676 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.01421, allocations: 4 kB / 0.5338 GB, free: 8.672 MB / 458.8 MB Notification: Performance of sorting global known variables: time 8.443e-05/0.0143, allocations: 155.2 kB / 0.5339 GB, free: 8.52 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0143, allocations: 0 / 0.5339 GB, free: 8.52 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001907/0.01449, allocations: 63.95 kB / 0.534 GB, free: 8.457 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (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) * 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 (23): * Single equations (assignments): 23 * 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.000672/0.01516, allocations: 1.164 MB / 0.5351 GB, free: 7.27 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.01552, allocations: 379.4 kB / 0.5355 GB, free: 6.898 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01553, allocations: 0 / 0.5355 GB, free: 6.898 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01566, allocations: 158.7 kB / 0.5356 GB, free: 6.746 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.01585, allocations: 20.03 kB / 0.5357 GB, free: 6.73 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.01862, allocations: 3.736 MB / 0.5393 GB, free: 2.883 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01873, allocations: 189.4 kB / 0.5395 GB, free: 2.676 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.01889, allocations: 113.8 kB / 0.5396 GB, free: 2.566 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.01898, allocations: 64.47 kB / 0.5397 GB, free: 2.504 MB / 458.8 MB Notification: Performance of SimCode: time 5.81e-07/0.01898, allocations: 3.938 kB / 0.5397 GB, free: 2.5 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.05055, allocations: 5.792 MB / 0.5453 GB, free: 12.89 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/6.849, allocations: 15.67 kB / 0.5453 GB, free: 12.88 MB / 474.8 MB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad_fmu --startTime=0 --stopTime=500 --stepSize=0.05 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.532150177285075]