Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 111.4 kB / 17.68 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 192 kB / 18.62 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.176/0.176, allocations: 38.04 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 62.39 kB / 400.2 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 58.07 MB / 458.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005104/0.1065, allocations: 3.442 MB / 461.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1086, allocations: 1.512 MB / 463.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1087, allocations: 11.94 kB / 463.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.1095, allocations: 258.9 kB / 463.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.11, allocations: 274.9 kB / 463.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1103, allocations: 123.6 kB / 463.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.1107, allocations: 339 kB / 464.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.111, allocations: 137.9 kB / 464.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.1112, allocations: 151.3 kB / 464.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.1114, allocations: 143.5 kB / 464.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.1115, allocations: 20 kB / 464.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.112, allocations: 335.2 kB / 465 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1121, allocations: 95.75 kB / 465.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1122, allocations: 107.4 kB / 465.2 MB, free: 396 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.1126, allocations: 347 kB / 465.6 MB, free: 48 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1127, allocations: 0 / 465.6 MB, free: 48 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1127, allocations: 0 / 465.6 MB, free: 48 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1127, allocations: 0 / 465.6 MB, free: 48 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006894/0.1134, allocations: 0.5181 MB / 466.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1134, allocations: 15.89 kB / 466.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009331/0.1144, allocations: 104.5 kB / 466.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.1148, allocations: 260.5 kB / 466.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1148, allocations: 20.33 kB / 466.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.1148, allocations: 20.12 kB / 466.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.1153, allocations: 326.3 kB / 466.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1154, allocations: 0 / 466.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1154, allocations: 8 kB / 466.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.1154, allocations: 19.98 kB / 466.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.1159, allocations: 303.7 kB / 467.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.1176, allocations: 1.293 MB / 468.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1179, allocations: 202.2 kB / 468.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.118, allocations: 45.77 kB / 468.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.118, allocations: 0 / 468.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1181, allocations: 38.56 kB / 468.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1181, allocations: 0 / 468.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002982/0.1184, allocations: 141.5 kB / 468.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.1184, allocations: 85.09 kB / 468.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1186, allocations: 203.8 kB / 469.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1187, allocations: 29.7 kB / 469.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1188, allocations: 179.6 kB / 469.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.1188, allocations: 31.55 kB / 469.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.1189, allocations: 41.7 kB / 469.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.119, allocations: 326.8 kB / 469.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.1191, allocations: 39.97 kB / 469.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1192, allocations: 135.6 kB / 469.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1195, allocations: 196.7 kB / 470.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1195, allocations: 7.938 kB / 470.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002991/0.1198, allocations: 201.4 kB / 470.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1198, allocations: 12.09 kB / 470.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1198, allocations: 0 / 470.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/0.1199, allocations: 8 kB / 470.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.12, allocations: 51.91 kB / 470.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1201, allocations: 4 kB / 470.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1202, allocations: 27.69 kB / 470.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1202, allocations: 8 kB / 470.4 MB, free: 10.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (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 prepare postOptimizeDAE: time 0.0001492/0.1204, allocations: 157.7 kB / 470.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.1204, allocations: 15.81 kB / 470.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.1207, allocations: 127.4 kB / 470.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1207, allocations: 4 kB / 470.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1207, allocations: 0 / 470.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1207, allocations: 0 / 470.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.1214, allocations: 0.5719 MB / 471.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1215, allocations: 4 kB / 471.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.1215, allocations: 19.98 kB / 471.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1215, allocations: 4 kB / 471.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1216, allocations: 11.88 kB / 471.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1216, allocations: 8.25 kB / 471.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1216, allocations: 8 kB / 471.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1219, allocations: 275.9 kB / 471.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.122, allocations: 100.9 kB / 471.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.122, allocations: 8 kB / 471.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1221, allocations: 4 kB / 471.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1222, allocations: 23.92 kB / 471.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1222, allocations: 4.047 kB / 471.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1223, allocations: 157.5 kB / 471.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1223, allocations: 0 / 471.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003508/0.1227, allocations: 51.84 kB / 471.9 MB, free: 9.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * 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 0.0001079/0.1228, allocations: 103.2 kB / 472 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.123, allocations: 127.6 kB / 472.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.123, allocations: 4 kB / 472.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.1231, allocations: 45.34 kB / 472.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1235, allocations: 33.48 kB / 472.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.1243, allocations: 447.3 kB / 472.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.1247, allocations: 0.7554 MB / 473.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.479e-05/0.1248, allocations: 37.52 kB / 473.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1249, allocations: 19.44 kB / 473.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1249, allocations: 0 / 473.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Templates: time 0.003983/0.1289, allocations: 1.205 MB / 474.7 MB, free: 6.246 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches