Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 110.9 kB / 16.63 MB, free: 6.953 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.00106/0.00106, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.371/1.371, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1719/0.1719, allocations: 38.04 MB / 329.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.83 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09624, allocations: 58.06 MB / 456.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004617/0.1009, allocations: 3.67 MB / 460 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.103, allocations: 1.504 MB / 461.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.1032, allocations: 11.94 kB / 461.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.1041, allocations: 243.1 kB / 461.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.1046, allocations: 251.2 kB / 462 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1049, allocations: 107.8 kB / 462.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.1053, allocations: 335 kB / 462.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.1057, allocations: 149.9 kB / 462.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.1059, allocations: 159.3 kB / 462.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1062, allocations: 171.4 kB / 462.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1062, allocations: 12 kB / 462.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1067, allocations: 303.2 kB / 463.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.1068, allocations: 99.75 kB / 463.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1069, allocations: 107.5 kB / 463.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.1073, allocations: 366.9 kB / 463.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1073, allocations: 4 kB / 463.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1073, allocations: 3.938 kB / 463.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1074, allocations: 0 / 463.8 MB, free: 0.918 MB / 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.0006184/0.108, allocations: 0.5103 MB / 464.3 MB, free: 368 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.108, allocations: 8.031 kB / 464.3 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008228/0.1088, allocations: 96.53 kB / 464.4 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1092, allocations: 258.2 kB / 464.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1092, allocations: 16.31 kB / 464.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1093, allocations: 20.12 kB / 464.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.1098, allocations: 322.2 kB / 465 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1098, allocations: 0 / 465 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.1099, allocations: 8 kB / 465 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.1099, allocations: 12 kB / 465 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.1103, allocations: 287.8 kB / 465.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.1119, allocations: 1.297 MB / 466.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.1123, allocations: 238.4 kB / 466.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.1125, allocations: 53.7 kB / 466.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1125, allocations: 11.88 kB / 466.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1125, allocations: 34.56 kB / 466.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1125, allocations: 0 / 466.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005954/0.1131, allocations: 284.3 kB / 467.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.1132, allocations: 77.11 kB / 467.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1134, allocations: 198.3 kB / 467.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1134, allocations: 29.83 kB / 467.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1135, allocations: 159.8 kB / 467.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1136, allocations: 51.25 kB / 467.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.1137, allocations: 49.61 kB / 467.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1138, allocations: 330.8 kB / 468.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.1139, allocations: 39.98 kB / 468.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.114, allocations: 145.7 kB / 468.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1143, allocations: 217.3 kB / 468.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1143, allocations: 0 / 468.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003185/0.1146, allocations: 241.3 kB / 468.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1146, allocations: 10.12 kB / 468.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1146, allocations: 4 kB / 468.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1147, allocations: 4 kB / 468.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1148, allocations: 47.91 kB / 468.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.1149, allocations: 7.938 kB / 468.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.115, allocations: 8 kB / 468.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.115, allocations: 12 kB / 468.8 MB, free: 11.48 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 (25): * Single equations (assignments): 25 * 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.0001285/0.1151, allocations: 154.3 kB / 469 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.1152, allocations: 23.75 kB / 469 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.1154, allocations: 153.9 kB / 469.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1154, allocations: 7.938 kB / 469.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1154, allocations: 0 / 469.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1154, allocations: 0 / 469.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.1162, allocations: 0.6615 MB / 469.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.1162, allocations: 16.06 kB / 469.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.1163, allocations: 23.98 kB / 469.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.1163, allocations: 11.94 kB / 469.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1164, allocations: 11.98 kB / 469.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.1164, allocations: 7.938 kB / 469.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1164, allocations: 4 kB / 469.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.1167, allocations: 335.3 kB / 470.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1168, allocations: 100.9 kB / 470.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1168, allocations: 8 kB / 470.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.1169, allocations: 7.984 kB / 470.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.117, allocations: 23.86 kB / 470.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.117, allocations: 8 kB / 470.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1171, allocations: 148.3 kB / 470.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1171, allocations: 0 / 470.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.1175, allocations: 44 kB / 470.5 MB, free: 9.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0001093/0.1176, allocations: 107.1 kB / 470.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.1179, allocations: 143.7 kB / 470.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1179, allocations: 3.938 kB / 470.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.118, allocations: 61.28 kB / 470.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.1184, allocations: 38.89 kB / 470.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/0.1192, allocations: 0.5858 MB / 471.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1196, allocations: 0.7593 MB / 472.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.1197, allocations: 37.52 kB / 472.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.1197, allocations: 19.44 kB / 472.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1197, allocations: 0 / 472.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of Templates: time 0.003657/0.1234, allocations: 1.335 MB / 473.6 MB, free: 6.391 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches