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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.0009734/0.0009735, allocations: 100.8 kB / 16.5 MB, free: 6.699 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.001015/0.001015, allocations: 194 kB / 17.42 MB, free: 6.086 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1668/0.1668, allocations: 38.04 MB / 329.3 MB, free: 9.109 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 59.05 kB / 398.2 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1005, allocations: 58.06 MB / 456.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005001/0.1055, allocations: 3.673 MB / 459.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1075, allocations: 1.512 MB / 461.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1077, allocations: 11.94 kB / 461.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.1084, allocations: 241.5 kB / 461.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005425/0.1089, allocations: 267.2 kB / 461.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.1092, allocations: 99.77 kB / 462 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.1096, allocations: 0.5612 MB / 462.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.1099, allocations: 130.1 kB / 462.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1101, allocations: 135.3 kB / 462.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1104, allocations: 163.4 kB / 463 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1104, allocations: 12 kB / 463 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.1109, allocations: 383.1 kB / 463.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.111, allocations: 95.73 kB / 463.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1111, allocations: 107.4 kB / 463.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.1116, allocations: 355 kB / 464 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1116, allocations: 4 kB / 464 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1116, allocations: 0 / 464 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1116, allocations: 0 / 464 MB, free: 0.7344 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.0006281/0.1122, allocations: 0.5103 MB / 464.5 MB, free: 180 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1123, allocations: 8.031 kB / 464.5 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.1123, allocations: 62.66 kB / 464.5 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008222/0.1132, allocations: 92.55 kB / 464.6 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1134, allocations: 248.5 kB / 464.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1135, allocations: 20.08 kB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.1135, allocations: 20 kB / 464.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.114, allocations: 318.3 kB / 465.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.114, allocations: 0 / 465.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.114, allocations: 4 kB / 465.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.1141, allocations: 23.98 kB / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.1144, allocations: 287.7 kB / 465.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1159, allocations: 1.289 MB / 466.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.1163, allocations: 246.2 kB / 467.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1164, allocations: 65.78 kB / 467.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1165, allocations: 4 kB / 467.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1165, allocations: 30.56 kB / 467.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1165, allocations: 0 / 467.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005613/0.1171, allocations: 292.6 kB / 467.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1171, allocations: 81.05 kB / 467.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1173, allocations: 202.3 kB / 467.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1173, allocations: 29.7 kB / 467.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.1174, allocations: 163.8 kB / 467.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1175, allocations: 47.3 kB / 468 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.1176, allocations: 45.61 kB / 468 MB, free: 12.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.1177, allocations: 326.8 kB / 468.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.1177, allocations: 47.97 kB / 468.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1179, allocations: 149.7 kB / 468.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.1181, allocations: 216.6 kB / 468.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1181, allocations: 3.938 kB / 468.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003095/0.1184, allocations: 229.2 kB / 469 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1185, allocations: 8 kB / 469 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1185, allocations: 4 kB / 469 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1185, allocations: 4 kB / 469 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1186, allocations: 43.92 kB / 469 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.1187, allocations: 7.984 kB / 469 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.1188, allocations: 8 kB / 469 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1188, allocations: 8 kB / 469 MB, free: 11.22 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.0001305/0.1189, allocations: 169.9 kB / 469.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.119, allocations: 15.81 kB / 469.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.1192, allocations: 147.1 kB / 469.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1192, allocations: 4 kB / 469.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1193, allocations: 0 / 469.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1193, allocations: 3.984 kB / 469.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.1201, allocations: 0.6655 MB / 470 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.1201, allocations: 11.94 kB / 470 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1202, allocations: 31.92 kB / 470.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1202, allocations: 4 kB / 470.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1202, allocations: 8 kB / 470.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.1202, allocations: 4 kB / 470.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1203, allocations: 4 kB / 470.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.1206, allocations: 335.3 kB / 470.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.1207, allocations: 108.8 kB / 470.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1207, allocations: 4 kB / 470.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1208, allocations: 8 kB / 470.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.1209, allocations: 19.92 kB / 470.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1209, allocations: 12 kB / 470.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.121, allocations: 144.3 kB / 470.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.121, allocations: 0 / 470.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.1213, allocations: 40 kB / 470.8 MB, free: 9.316 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.0005469/0.1219, allocations: 0.8795 MB / 471.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1221, allocations: 147.6 kB / 471.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1221, allocations: 0 / 471.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.1222, allocations: 65.28 kB / 471.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.1227, allocations: 31.92 kB / 471.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.1251, allocations: 2.474 MB / 474.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1254, allocations: 0.7518 MB / 475.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.1256, allocations: 49.48 kB / 475.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.734e-05/0.1257, allocations: 63.41 kB / 475.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1257, allocations: 0 / 475.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.1431, allocations: 3.249 MB / 478.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/0.1434, allocations: 208.6 kB / 478.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.765, allocations: 3.938 kB / 478.7 MB, free: 1.105 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches