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.001084/0.001084, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001347/0.001347, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9796/0.9796, allocations: 177.1 MB / 205 MB, free: 5.629 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.2303/0.2303, allocations: 29.41 MB / 290.9 MB, free: 2.516 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.434e-06/2.434e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.344e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004561/0.004595, allocations: 4.06 MB / 373.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.006878, allocations: 1.446 MB / 375.1 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.007103, allocations: 15.88 kB / 375.1 MB, free: 5.469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.00771, allocations: 143.1 kB / 375.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005791/0.008289, allocations: 234.7 kB / 375.5 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.008908, allocations: 251.2 kB / 375.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.009449, allocations: 0.5455 MB / 376.3 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.00981, allocations: 225.7 kB / 376.5 MB, free: 4.086 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.01026, allocations: 327.1 kB / 376.8 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.0106, allocations: 279.3 kB / 377.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.01064, allocations: 32 kB / 377.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.01092, allocations: 155.7 kB / 377.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.0111, allocations: 235.4 kB / 377.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.01124, allocations: 163.7 kB / 377.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.01176, allocations: 442.5 kB / 378.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01176, allocations: 0 / 378.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01176, allocations: 0 / 378.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.01177, allocations: 0 / 378.1 MB, free: 2.484 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.0009534/0.01273, allocations: 0.7784 MB / 378.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.01277, allocations: 15.98 kB / 378.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007207/0.01349, allocations: 172.4 kB / 379.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/0.01413, allocations: 354.8 kB / 379.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.01416, allocations: 29.38 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.01429, allocations: 48.55 kB / 379.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.01493, allocations: 0.4941 MB / 380 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.01495, allocations: 3.938 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.01498, allocations: 19.98 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.611e-05/0.01506, allocations: 32.98 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.0154, allocations: 233.6 kB / 380.3 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.01776, allocations: 3.348 MB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.01797, allocations: 157.9 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.01808, allocations: 83.39 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.0181, allocations: 11.94 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.01813, allocations: 37.39 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/0.01813, allocations: 0 / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009451/0.01908, allocations: 0.6662 MB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.01912, allocations: 81.23 kB / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.01936, allocations: 370.1 kB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.01938, allocations: 29.7 kB / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.01952, allocations: 334.7 kB / 385.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.01958, allocations: 103.2 kB / 385.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.01967, allocations: 99.8 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01981, allocations: 0.5235 MB / 386.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01991, allocations: 64.95 kB / 386.2 MB, free: 10 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.02014, allocations: 351.5 kB / 386.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.02053, allocations: 474.2 kB / 387 MB, free: 8.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.02054, allocations: 4 kB / 387 MB, free: 8.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004617/0.021, allocations: 401 kB / 387.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.02102, allocations: 8 kB / 387.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.02103, allocations: 11.94 kB / 387.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.02105, allocations: 12 kB / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.02129, allocations: 115.8 kB / 387.5 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.02131, allocations: 8.562 kB / 387.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.02144, allocations: 35.97 kB / 387.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.02147, allocations: 20 kB / 387.6 MB, free: 8.328 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.0001235/0.02159, allocations: 196.3 kB / 387.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.02164, allocations: 39.75 kB / 387.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.02226, allocations: 253.7 kB / 388 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.02226, allocations: 0 / 388 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.02227, allocations: 4 kB / 388 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.02227, allocations: 3.984 kB / 388.1 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.02304, allocations: 0.7117 MB / 388.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.02305, allocations: 4 kB / 388.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.02321, allocations: 59.91 kB / 388.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.02322, allocations: 7.984 kB / 388.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.02324, allocations: 8 kB / 388.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.02324, allocations: 0 / 388.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.02324, allocations: 4 kB / 388.8 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.02365, allocations: 491.8 kB / 389.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.02368, allocations: 35.86 kB / 389.4 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.02371, allocations: 11.98 kB / 389.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.02379, allocations: 12 kB / 389.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.02383, allocations: 23.89 kB / 389.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.02384, allocations: 8 kB / 389.4 MB, free: 6.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.02396, allocations: 223 kB / 389.6 MB, free: 6.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02396, allocations: 3.938 kB / 389.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002926/0.02425, allocations: 92 kB / 389.7 MB, free: 6.055 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.538e-05/0.02435, allocations: 111.1 kB / 389.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.02465, allocations: 244.2 kB / 390.1 MB, free: 5.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02466, allocations: 5.75 kB / 390.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.02477, allocations: 111.5 kB / 390.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.02511, allocations: 68.67 kB / 390.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.02647, allocations: 0.852 MB / 391.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.262e-05/0.02656, allocations: 137.2 kB / 391.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.02676, allocations: 115.1 kB / 391.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.02683, allocations: 36.5 kB / 391.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02683, allocations: 0 / 391.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of Templates: time 0.005659/0.03249, allocations: 3.263 MB / 394.7 MB, free: 1.113 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.2566424207761884]