Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.0009469/0.0009469, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009428/0.0009428, allocations: 160.5 kB / 24.99 MB, free: 9.336 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.9758/0.9758, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2526/0.2526, allocations: 29.41 MB / 291.2 MB, free: 2.5 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 3.938 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.295e-05, allocations: 5.406 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004595/0.004628, allocations: 4.541 MB / 374.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.007, allocations: 1.429 MB / 375.6 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.007253, allocations: 19.81 kB / 375.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007281/0.007981, allocations: 382.3 kB / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.008474, allocations: 238.6 kB / 376.2 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.009067, allocations: 263.1 kB / 376.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.009515, allocations: 0.5494 MB / 377 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.009827, allocations: 205.5 kB / 377.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.0102, allocations: 335 kB / 377.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.01051, allocations: 287.3 kB / 377.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.01055, allocations: 32 kB / 377.8 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.01079, allocations: 155.6 kB / 378 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.01096, allocations: 239.4 kB / 378.2 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.01109, allocations: 159.7 kB / 378.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.01153, allocations: 446.5 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01153, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01153, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.01154, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0007996/0.01234, allocations: 0.79 MB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01238, allocations: 11.98 kB / 379.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/0.01288, allocations: 160.5 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.0133, allocations: 350.8 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.01332, allocations: 33.38 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.01341, allocations: 48.55 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.01387, allocations: 0.498 MB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.01388, allocations: 11.94 kB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.01391, allocations: 16 kB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.041e-05/0.01399, allocations: 29.03 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.01431, allocations: 229.5 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.01646, allocations: 3.345 MB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.01667, allocations: 165.9 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.01677, allocations: 87.34 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.0168, allocations: 7.984 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.01682, allocations: 41.33 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.01682, allocations: 0 / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008943/0.01772, allocations: 0.6653 MB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.01775, allocations: 81.11 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.01798, allocations: 362.1 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.018, allocations: 29.7 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01813, allocations: 334.7 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.01819, allocations: 107.2 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.01827, allocations: 99.8 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.0184, allocations: 0.5196 MB / 386.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/0.01849, allocations: 60.95 kB / 386.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.0187, allocations: 359.6 kB / 387.2 MB, free: 9.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.01904, allocations: 466.2 kB / 387.7 MB, free: 8.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01904, allocations: 0 / 387.7 MB, free: 8.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004053/0.01945, allocations: 404.6 kB / 388.1 MB, free: 8.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.01947, allocations: 12.84 kB / 388.1 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.01948, allocations: 8 kB / 388.1 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.01949, allocations: 12 kB / 388.1 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.01973, allocations: 127.8 kB / 388.2 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.01974, allocations: 8 kB / 388.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.01987, allocations: 23.92 kB / 388.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.0199, allocations: 27.98 kB / 388.3 MB, free: 7.918 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001102/0.02001, allocations: 192.3 kB / 388.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.02006, allocations: 43.75 kB / 388.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.02037, allocations: 249.7 kB / 388.7 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02038, allocations: 4 kB / 388.8 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02038, allocations: 4 kB / 388.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.02038, allocations: 4 kB / 388.8 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007515/0.02114, allocations: 0.7077 MB / 389.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.02114, allocations: 0 / 389.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.02131, allocations: 63.91 kB / 389.5 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.02131, allocations: 4 kB / 389.5 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/0.02157, allocations: 11.98 kB / 389.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.02158, allocations: 4 kB / 389.5 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02158, allocations: 4.094 kB / 389.6 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.02201, allocations: 491.8 kB / 390 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.02204, allocations: 31.77 kB / 390.1 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.02207, allocations: 11.94 kB / 390.1 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.02216, allocations: 11.98 kB / 390.1 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.02219, allocations: 19.95 kB / 390.1 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.02221, allocations: 15.94 kB / 390.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.02233, allocations: 223 kB / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02233, allocations: 0 / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.02263, allocations: 92 kB / 390.4 MB, free: 5.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.626e-05/0.02273, allocations: 111.2 kB / 390.5 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.02303, allocations: 249.5 kB / 390.8 MB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02304, allocations: 0.5 kB / 390.8 MB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.02315, allocations: 111.5 kB / 390.9 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.02349, allocations: 72.05 kB / 391 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.02485, allocations: 0.8483 MB / 391.8 MB, free: 4.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.02494, allocations: 141.2 kB / 391.9 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.02513, allocations: 111.1 kB / 392.1 MB, free: 3.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.02519, allocations: 40.5 kB / 392.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02519, allocations: 0 / 392.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of Templates: time 0.005327/0.03052, allocations: 3.261 MB / 395.4 MB, free: 0.7109 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0130981151014566]