Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.001028/0.001028, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001484/0.001484, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2422/0.2422, allocations: 29.42 MB / 291.2 MB, free: 2.48 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.242e-05, allocations: 2.312 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004648/0.00467, allocations: 4.84 MB / 321.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.00623, allocations: 1.126 MB / 322.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.006421, allocations: 27.69 kB / 322.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.006629, allocations: 79.27 kB / 322.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005358/0.007165, allocations: 310.1 kB / 323.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.007377, allocations: 143.7 kB / 323.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.007892, allocations: 0.7198 MB / 324.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.008085, allocations: 133.7 kB / 324.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006091/0.008694, allocations: 498.8 kB / 324.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.008984, allocations: 239.3 kB / 324.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.009029, allocations: 32 kB / 324.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.566e-05/0.009075, allocations: 32 kB / 325 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.009198, allocations: 167.5 kB / 325.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.009328, allocations: 159.6 kB / 325.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.009619, allocations: 346.6 kB / 325.6 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.009621, allocations: 4 kB / 325.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.009622, allocations: 3.938 kB / 325.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.009628, allocations: 0 / 325.6 MB, free: 7.156 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006523/0.01028, allocations: 0.6686 MB / 326.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.01031, allocations: 12.03 kB / 326.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.01039, allocations: 64.89 kB / 326.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.01076, allocations: 369.2 kB / 326.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.01078, allocations: 25.38 kB / 326.8 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.01083, allocations: 40.12 kB / 326.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.0111, allocations: 327.5 kB / 327.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01111, allocations: 0 / 327.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.01113, allocations: 16 kB / 327.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.01114, allocations: 8 kB / 327.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.01127, allocations: 108.7 kB / 327.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01238, allocations: 1.474 MB / 328.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.01251, allocations: 99.62 kB / 328.8 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.01254, allocations: 34.64 kB / 328.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.01256, allocations: 4 kB / 328.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.01258, allocations: 46.48 kB / 328.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.01258, allocations: 0 / 328.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002487/0.01283, allocations: 133.7 kB / 329 MB, free: 3.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.01288, allocations: 110.8 kB / 329.1 MB, free: 3.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.01306, allocations: 339.1 kB / 329.5 MB, free: 3.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.01307, allocations: 25.7 kB / 329.5 MB, free: 3.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01318, allocations: 252.9 kB / 329.7 MB, free: 2.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.01321, allocations: 55.52 kB / 329.8 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.01326, allocations: 65.56 kB / 329.9 MB, free: 2.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.01336, allocations: 346.7 kB / 330.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.01338, allocations: 23.98 kB / 330.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.01348, allocations: 162.4 kB / 330.4 MB, free: 2.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.01364, allocations: 218 kB / 330.6 MB, free: 1.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01365, allocations: 0 / 330.6 MB, free: 1.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001969/0.01384, allocations: 209.2 kB / 330.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01386, allocations: 11.94 kB / 330.8 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01386, allocations: 4 kB / 330.8 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.01388, allocations: 8 kB / 330.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01402, allocations: 67.84 kB / 330.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.01403, allocations: 4 kB / 330.9 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.01412, allocations: 40.2 kB / 330.9 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.01413, allocations: 12 kB / 330.9 MB, free: 1.414 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (36): * Single equations (assignments): 36 * 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 9.404e-05/0.01423, allocations: 136.5 kB / 331.1 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.01426, allocations: 27.91 kB / 331.1 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.01441, allocations: 120.8 kB / 331.2 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01442, allocations: 256 / 331.2 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.01442, allocations: 0 / 331.2 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01443, allocations: 8 kB / 331.2 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.01463, allocations: 173.6 kB / 331.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.01464, allocations: 4 kB / 331.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.991e-05/0.01474, allocations: 27.98 kB / 331.4 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.01474, allocations: 11.94 kB / 331.4 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01475, allocations: 0 / 331.4 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.01475, allocations: 3.938 kB / 331.5 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01476, allocations: 4 kB / 331.5 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.01496, allocations: 305.9 kB / 331.8 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.01499, allocations: 27.77 kB / 331.8 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.01501, allocations: 11.98 kB / 331.8 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.01508, allocations: 3.938 kB / 331.8 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.0151, allocations: 15.97 kB / 331.8 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.01511, allocations: 7.984 kB / 331.8 MB, free: 496 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.01519, allocations: 132.7 kB / 332 MB, free: 364 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01519, allocations: 0 / 332 MB, free: 364 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.01542, allocations: 95.72 kB / 332 MB, free: 268 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * 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 (17): * Single equations (assignments): 16 * 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 8.636e-05/0.01551, allocations: 80.36 kB / 332.1 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.01564, allocations: 114 kB / 332.2 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.01565, allocations: 4.375 kB / 332.2 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.0157, allocations: 52.77 kB / 332.3 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.01604, allocations: 91.41 kB / 332.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.01708, allocations: 0.7531 MB / 333.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.01715, allocations: 124.6 kB / 333.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.612e-05/0.01724, allocations: 47.25 kB / 333.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.01736, allocations: 123.3 kB / 333.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01737, allocations: 0 / 333.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Templates: time 0.00579/0.02316, allocations: 3.521 MB / 336.9 MB, free: 11.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.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.1298003122210503]