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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1818/0.1818, allocations: 38.51 MB / 342.5 MB, free: 8.145 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 66.73 kB / 478.6 MB, free: 33.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.0968, allocations: 61.26 MB / 0.5272 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005067/0.1019, allocations: 3.447 MB / 0.5306 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1042, allocations: 1.469 MB / 0.532 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1043, allocations: 7.938 kB / 0.532 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008421/0.1052, allocations: 259 kB / 0.5323 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006146/0.1058, allocations: 282.9 kB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1061, allocations: 111.7 kB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.1066, allocations: 347 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.1068, allocations: 101.9 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.1072, allocations: 155.4 kB / 0.5332 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1074, allocations: 171.4 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1075, allocations: 12 kB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.108, allocations: 319.2 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1081, allocations: 95.7 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1082, allocations: 115.5 kB / 0.5339 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.1087, allocations: 342.8 kB / 0.5342 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1087, allocations: 4 kB / 0.5342 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1087, allocations: 0 / 0.5342 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1087, allocations: 0 / 0.5342 GB, free: 10.17 MB / 398.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.0007552/0.1095, allocations: 0.5177 MB / 0.5347 GB, free: 9.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1095, allocations: 11.89 kB / 0.5348 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/0.1096, allocations: 58.67 kB / 0.5348 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008544/0.1104, allocations: 96.62 kB / 0.5349 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.1109, allocations: 263.4 kB / 0.5352 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1109, allocations: 16.36 kB / 0.5352 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.111, allocations: 27.94 kB / 0.5352 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.1116, allocations: 310.3 kB / 0.5355 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1116, allocations: 4 kB / 0.5355 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.1116, allocations: 7.984 kB / 0.5355 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.1117, allocations: 23.98 kB / 0.5355 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.1121, allocations: 287.7 kB / 0.5358 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.1139, allocations: 1.289 MB / 0.5371 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.1144, allocations: 230.3 kB / 0.5373 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.1145, allocations: 57.64 kB / 0.5373 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1145, allocations: 0 / 0.5373 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1145, allocations: 38.55 kB / 0.5374 GB, free: 6.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1145, allocations: 0 / 0.5374 GB, free: 6.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000691/0.1152, allocations: 280.8 kB / 0.5376 GB, free: 6.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.1153, allocations: 85.23 kB / 0.5377 GB, free: 6.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1155, allocations: 198.2 kB / 0.5379 GB, free: 6.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1155, allocations: 25.7 kB / 0.5379 GB, free: 6.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1156, allocations: 164.2 kB / 0.5381 GB, free: 5.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.1157, allocations: 59.52 kB / 0.5381 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.1157, allocations: 37.72 kB / 0.5382 GB, free: 5.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.116, allocations: 334.8 kB / 0.5385 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.1162, allocations: 47.97 kB / 0.5385 GB, free: 5.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1164, allocations: 142.3 kB / 0.5387 GB, free: 5.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.1167, allocations: 221.2 kB / 0.5389 GB, free: 4.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1167, allocations: 0 / 0.5389 GB, free: 4.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003671/0.1171, allocations: 229.2 kB / 0.5391 GB, free: 4.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1171, allocations: 8 kB / 0.5391 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1171, allocations: 7.984 kB / 0.5391 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1171, allocations: 7.938 kB / 0.5391 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1173, allocations: 43.92 kB / 0.5392 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1173, allocations: 7.938 kB / 0.5392 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1174, allocations: 8.438 kB / 0.5392 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1174, allocations: 16 kB / 0.5392 GB, free: 4.648 MB / 398.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.0001645/0.1176, allocations: 161.6 kB / 0.5394 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.1177, allocations: 19.86 kB / 0.5394 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.1179, allocations: 157.4 kB / 0.5395 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1179, allocations: 0 / 0.5395 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.118, allocations: 4 kB / 0.5395 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.118, allocations: 0 / 0.5395 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009664/0.1189, allocations: 0.6692 MB / 0.5402 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1189, allocations: 7.938 kB / 0.5402 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.119, allocations: 27.92 kB / 0.5402 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.119, allocations: 4 kB / 0.5402 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1191, allocations: 4 kB / 0.5402 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.1191, allocations: 7.938 kB / 0.5402 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.1191, allocations: 8.062 kB / 0.5402 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.1196, allocations: 343.5 kB / 0.5406 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.1197, allocations: 101 kB / 0.5407 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.1197, allocations: 7.984 kB / 0.5407 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1198, allocations: 8 kB / 0.5407 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1199, allocations: 23.86 kB / 0.5407 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.1199, allocations: 12 kB / 0.5407 GB, free: 2.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.12, allocations: 140.3 kB / 0.5409 GB, free: 2.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.12, allocations: 0 / 0.5409 GB, free: 2.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1204, allocations: 44 kB / 0.5409 GB, free: 2.73 MB / 398.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.0007253/0.1211, allocations: 0.8708 MB / 0.5417 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1214, allocations: 147.7 kB / 0.5419 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1214, allocations: 3.938 kB / 0.5419 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1215, allocations: 61.03 kB / 0.5419 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1219, allocations: 40.53 kB / 0.542 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.1248, allocations: 2.402 MB / 0.5443 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.1254, allocations: 0.7631 MB / 0.5451 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.1256, allocations: 45.55 kB / 0.5451 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.1257, allocations: 59.41 kB / 0.5452 GB, free: 14 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1257, allocations: 0 / 0.5452 GB, free: 14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.1514, allocations: 3.551 MB / 0.5486 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.283, allocations: 7.25 kB / 0.5487 GB, free: 10.54 MB / 414.1 MB " [Timeout remaining time 652] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.119778964668512]