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.001137/0.001137, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001211/0.001211, allocations: 165 kB / 24.56 MB, free: 20 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.9978/0.9978, allocations: 177.1 MB / 205 MB, free: 5.277 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.2363/0.2363, allocations: 29.4 MB / 290.9 MB, free: 2.461 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.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.843e-06/1.843e-06, allocations: 0 / 369.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.338e-05, allocations: 2.312 kB / 369.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005085/0.005108, allocations: 4.852 MB / 374.5 MB, free: 6.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.006852, allocations: 1.099 MB / 375.6 MB, free: 5.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.007079, allocations: 27.75 kB / 375.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.007284, allocations: 79.27 kB / 375.7 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005809/0.007865, allocations: 302.1 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.008113, allocations: 147.7 kB / 376.1 MB, free: 4.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.008644, allocations: 0.7199 MB / 376.8 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.008842, allocations: 113.2 kB / 376.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.009295, allocations: 418.8 kB / 377.3 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.009643, allocations: 299.1 kB / 377.6 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.009689, allocations: 32 kB / 377.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.397e-05/0.009743, allocations: 36 kB / 377.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.009871, allocations: 171.5 kB / 377.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.01, allocations: 167.5 kB / 378 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.01033, allocations: 350.7 kB / 378.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01033, allocations: 4 kB / 378.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01033, allocations: 3.938 kB / 378.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.01034, allocations: 0 / 378.4 MB, free: 2.23 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008125/0.01115, allocations: 0.8327 MB / 379.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01118, allocations: 8.031 kB / 379.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.01128, allocations: 84.61 kB / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.0117, allocations: 407.6 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.01172, allocations: 29.38 kB / 379.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.01177, allocations: 40.12 kB / 379.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.01213, allocations: 359.9 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.01214, allocations: 4 kB / 380.1 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.01216, allocations: 16 kB / 380.1 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01217, allocations: 8 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.01238, allocations: 160.6 kB / 380.3 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.01365, allocations: 1.987 MB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.01382, allocations: 141.1 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.01387, allocations: 51.16 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.01389, allocations: 7.984 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.01392, allocations: 37.39 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.01392, allocations: 0 / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008954/0.01481, allocations: 0.519 MB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.01486, allocations: 114.7 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.01509, allocations: 394.6 kB / 383.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.0151, allocations: 25.7 kB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01524, allocations: 334.8 kB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.01527, allocations: 67.47 kB / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.01533, allocations: 67.31 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.01545, allocations: 0.5157 MB / 384.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.0155, allocations: 31.97 kB / 384.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.01562, allocations: 232.8 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.01583, allocations: 292.8 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01583, allocations: 4.438 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002642/0.0161, allocations: 281.7 kB / 385.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01611, allocations: 4 kB / 385.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01612, allocations: 8 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.01613, allocations: 4 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.01629, allocations: 79.84 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.0163, allocations: 11.98 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.01638, allocations: 11.94 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.0164, allocations: 16.08 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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 8.97e-05/0.01649, allocations: 176.6 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.01653, allocations: 47.7 kB / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.01671, allocations: 148.8 kB / 385.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01672, allocations: 4 kB / 385.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01672, allocations: 0 / 385.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01672, allocations: 7.922 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.01712, allocations: 496.8 kB / 386.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01712, allocations: 0 / 386.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.01723, allocations: 31.98 kB / 386.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01723, allocations: 4 kB / 386.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.01724, allocations: 7.938 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01724, allocations: 8.031 kB / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01724, allocations: 0 / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.01755, allocations: 468.9 kB / 386.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.01759, allocations: 27.77 kB / 386.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.01762, allocations: 8 kB / 386.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.0177, allocations: 4 kB / 386.9 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.01772, allocations: 15.91 kB / 386.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01773, allocations: 8 kB / 386.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.01788, allocations: 255.1 kB / 387.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01788, allocations: 0 / 387.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.01817, allocations: 75.94 kB / 387.3 MB, free: 8.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.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 (18): * Single equations (assignments): 17 * 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.017e-05/0.01825, allocations: 95.25 kB / 387.4 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.01846, allocations: 144.5 kB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01846, allocations: 0 / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.01852, allocations: 51.64 kB / 387.5 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.01894, allocations: 93.64 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.02016, allocations: 0.806 MB / 388.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.293e-05/0.02024, allocations: 129.2 kB / 388.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.02035, allocations: 51.25 kB / 388.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.0204, allocations: 28.5 kB / 388.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.0204, allocations: 0 / 388.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of Templates: time 0.005415/0.02582, allocations: 3.28 MB / 391.9 MB, free: 4.031 MB / 362.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.249386051669717]