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.001185/0.001185, allocations: 106.5 kB / 16.62 MB, free: 6.805 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.00126/0.00126, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.279/1.279, allocations: 222.9 MB / 241.2 MB, free: 13.74 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.03 MB / 329.4 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 61.31 kB / 398.4 MB, free: 34.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 58.07 MB / 456.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004752/0.1099, allocations: 3.67 MB / 460.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.112, allocations: 1.496 MB / 461.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1122, allocations: 11.94 kB / 461.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.113, allocations: 239.2 kB / 461.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006367/0.1136, allocations: 267.1 kB / 462.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1139, allocations: 87.83 kB / 462.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.1143, allocations: 339 kB / 462.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.1147, allocations: 157.9 kB / 462.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.115, allocations: 151.3 kB / 462.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.1153, allocations: 171.4 kB / 463 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.1153, allocations: 12 kB / 463 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.1158, allocations: 307.2 kB / 463.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.116, allocations: 95.77 kB / 463.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.1161, allocations: 111.4 kB / 463.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.1167, allocations: 363 kB / 463.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1167, allocations: 7.938 kB / 463.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1167, allocations: 0 / 463.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1167, allocations: 4 kB / 463.9 MB, free: 0.8203 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.000755/0.1175, allocations: 0.5064 MB / 464.4 MB, free: 272 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1175, allocations: 11.89 kB / 464.4 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/0.1176, allocations: 54.73 kB / 464.5 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.1184, allocations: 96.55 kB / 464.6 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.1188, allocations: 254.4 kB / 464.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1188, allocations: 16.33 kB / 464.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.1189, allocations: 19.94 kB / 464.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.1194, allocations: 322.3 kB / 465.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1194, allocations: 3.938 kB / 465.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1194, allocations: 4 kB / 465.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.1194, allocations: 23.98 kB / 465.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.1199, allocations: 287.7 kB / 465.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.1215, allocations: 1.293 MB / 466.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1219, allocations: 238.2 kB / 467 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.122, allocations: 57.7 kB / 467.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.122, allocations: 8 kB / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.122, allocations: 34.55 kB / 467.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.122, allocations: 0 / 467.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000615/0.1227, allocations: 287.2 kB / 467.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1227, allocations: 77.23 kB / 467.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1229, allocations: 198.3 kB / 467.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1229, allocations: 29.7 kB / 467.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1231, allocations: 171.8 kB / 467.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.1231, allocations: 51.28 kB / 467.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.1232, allocations: 41.62 kB / 467.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1233, allocations: 330.8 kB / 468.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.1234, allocations: 47.97 kB / 468.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1235, allocations: 145.7 kB / 468.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.1238, allocations: 216.6 kB / 468.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1238, allocations: 0 / 468.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003162/0.1241, allocations: 233 kB / 468.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1241, allocations: 8 kB / 468.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1241, allocations: 7.984 kB / 468.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1241, allocations: 4 kB / 468.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1243, allocations: 43.92 kB / 469 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1243, allocations: 4 kB / 469 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.1244, allocations: 8 kB / 469 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1244, allocations: 8.406 kB / 469 MB, free: 11.32 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.0001331/0.1246, allocations: 169.6 kB / 469.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.1246, allocations: 15.81 kB / 469.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.1249, allocations: 155.1 kB / 469.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1249, allocations: 4 kB / 469.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1249, allocations: 0 / 469.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1249, allocations: 0 / 469.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.1258, allocations: 0.6654 MB / 470 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.1258, allocations: 7.984 kB / 470 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.863e-05/0.1259, allocations: 35.86 kB / 470 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1259, allocations: 4 kB / 470 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.126, allocations: 12.06 kB / 470 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.126, allocations: 4 kB / 470 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.126, allocations: 11.88 kB / 470 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.1263, allocations: 331.5 kB / 470.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.1264, allocations: 104.8 kB / 470.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1264, allocations: 7.984 kB / 470.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1265, allocations: 8 kB / 470.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.1266, allocations: 19.92 kB / 470.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1266, allocations: 12 kB / 470.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1267, allocations: 148.2 kB / 470.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1267, allocations: 0 / 470.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.1271, allocations: 40 kB / 470.7 MB, free: 9.395 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.000556/0.1276, allocations: 0.8682 MB / 471.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1279, allocations: 156.4 kB / 471.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.1279, allocations: 4 kB / 471.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.128, allocations: 61.09 kB / 471.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1284, allocations: 48.56 kB / 471.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.1309, allocations: 2.46 MB / 474.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1312, allocations: 0.7593 MB / 475.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1313, allocations: 45.5 kB / 475.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.1314, allocations: 51.42 kB / 475.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1314, allocations: 0 / 475.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.1444, allocations: 3.337 MB / 478.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.1446, allocations: 204.9 kB / 478.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.862, allocations: 0 / 478.7 MB, free: 1.129 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches