Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001069/0.001069, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.364/1.364, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1751/0.1751, allocations: 38.03 MB / 329.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 69.06 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09923, allocations: 58.06 MB / 457 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004257/0.1035, allocations: 3.428 MB / 460.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1052, allocations: 1.446 MB / 461.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.632e-05/0.1053, allocations: 7.938 kB / 461.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.106, allocations: 255 kB / 462.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.1065, allocations: 279 kB / 462.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1067, allocations: 111.7 kB / 462.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.107, allocations: 335 kB / 462.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.1073, allocations: 133.9 kB / 462.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.1074, allocations: 155.3 kB / 463.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1076, allocations: 151.4 kB / 463.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1077, allocations: 16 kB / 463.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.1081, allocations: 303.2 kB / 463.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.1082, allocations: 99.75 kB / 463.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1083, allocations: 103.5 kB / 463.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1086, allocations: 343 kB / 464.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1086, allocations: 0 / 464.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1086, allocations: 4 kB / 464.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1087, allocations: 4 kB / 464.1 MB, free: 0.7734 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.0005334/0.1092, allocations: 0.5056 MB / 464.6 MB, free: 228 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1092, allocations: 11.89 kB / 464.6 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.1093, allocations: 58.72 kB / 464.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.11, allocations: 88.56 kB / 464.8 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1103, allocations: 262.6 kB / 465 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1103, allocations: 20.31 kB / 465 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1104, allocations: 27.94 kB / 465.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.1108, allocations: 310.4 kB / 465.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1108, allocations: 3.938 kB / 465.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.1108, allocations: 7.984 kB / 465.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.1109, allocations: 16 kB / 465.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.1112, allocations: 287.8 kB / 465.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1126, allocations: 1.301 MB / 467 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.1131, allocations: 209.2 kB / 467.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.1132, allocations: 57.7 kB / 467.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1132, allocations: 0 / 467.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1133, allocations: 46.7 kB / 467.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.1133, allocations: 0 / 467.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007901/0.1141, allocations: 430.7 kB / 467.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1141, allocations: 81.11 kB / 467.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1143, allocations: 194.3 kB / 468 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1143, allocations: 25.7 kB / 468 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.1144, allocations: 163.8 kB / 468.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.1144, allocations: 51.28 kB / 468.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1145, allocations: 53.73 kB / 468.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.1146, allocations: 330.8 kB / 468.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.1147, allocations: 47.97 kB / 468.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1148, allocations: 157.6 kB / 468.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1151, allocations: 236.6 kB / 469 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1151, allocations: 0 / 469 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003872/0.1155, allocations: 258 kB / 469.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1155, allocations: 8.438 kB / 469.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1155, allocations: 11.92 kB / 469.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.1157, allocations: 44.77 kB / 469.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1158, allocations: 39.92 kB / 469.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009738/0.1168, allocations: 1.437 MB / 470.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1169, allocations: 7.984 kB / 470.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.117, allocations: 12 kB / 470.8 MB, free: 9.465 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 (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.1171, allocations: 157.8 kB / 471 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.1171, allocations: 23.73 kB / 471 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.1175, allocations: 190.9 kB / 471.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1175, allocations: 0 / 471.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1175, allocations: 7.922 kB / 471.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1175, allocations: 4 kB / 471.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.1182, allocations: 0.564 MB / 471.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1182, allocations: 0 / 471.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.1183, allocations: 23.98 kB / 471.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.1185, allocations: 36.86 kB / 471.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1185, allocations: 4 kB / 471.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008957/0.1194, allocations: 1.422 MB / 473.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1194, allocations: 0 / 473.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1197, allocations: 303.6 kB / 473.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.1198, allocations: 92.92 kB / 473.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1198, allocations: 4 kB / 473.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.1199, allocations: 4 kB / 473.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.12, allocations: 23.86 kB / 473.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.12, allocations: 4 kB / 473.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1201, allocations: 152.2 kB / 473.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1201, allocations: 0 / 473.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.1204, allocations: 52 kB / 473.9 MB, free: 6.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.121, allocations: 0.8257 MB / 474.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.1214, allocations: 274.9 kB / 475 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1214, allocations: 0 / 475 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.1216, allocations: 174.6 kB / 475.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.122, allocations: 35.39 kB / 475.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.1243, allocations: 2.369 MB / 477.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1246, allocations: 0.7593 MB / 478.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.1247, allocations: 37.52 kB / 478.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.1248, allocations: 59.41 kB / 478.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1248, allocations: 0 / 478.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/0.1715, allocations: 3.8 MB / 482.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.859/9.031, allocations: 3.938 kB / 482.2 MB, free: 13.62 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches