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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1916/0.1916, allocations: 38.54 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.89 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 62.47 MB / 0.5419 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005172/0.3711, allocations: 3.428 MB / 0.5453 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.3734, allocations: 1.378 MB / 0.5466 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3736, allocations: 9.75 kB / 0.5466 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009141/0.3745, allocations: 248 kB / 0.5469 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007499/0.3753, allocations: 278.8 kB / 0.5471 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.3756, allocations: 111.2 kB / 0.5472 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.3761, allocations: 341.4 kB / 0.5476 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.3764, allocations: 118.3 kB / 0.5477 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.3768, allocations: 165.3 kB / 0.5478 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.3771, allocations: 154 kB / 0.548 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.3771, allocations: 13.81 kB / 0.548 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.3777, allocations: 268.9 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.3778, allocations: 98.36 kB / 0.5484 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.3779, allocations: 93.81 kB / 0.5484 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.3785, allocations: 338.3 kB / 0.5488 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3785, allocations: 1.344 kB / 0.5488 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3785, allocations: 0 / 0.5488 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3785, allocations: 0 / 0.5488 GB, free: 11.13 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.0008272/0.3794, allocations: 454.5 kB / 0.5492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.3794, allocations: 15.14 kB / 0.5492 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.299e-05/0.3795, allocations: 56.27 kB / 0.5493 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009893/0.3805, allocations: 96.03 kB / 0.5494 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.3809, allocations: 205.6 kB / 0.5496 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.3809, allocations: 19.64 kB / 0.5496 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.381, allocations: 19.66 kB / 0.5496 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.3816, allocations: 315 kB / 0.5499 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3816, allocations: 3.938 kB / 0.5499 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.3816, allocations: 14.14 kB / 0.5499 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.3817, allocations: 21.58 kB / 0.5499 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.3821, allocations: 282 kB / 0.5502 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.3841, allocations: 1.203 MB / 0.5514 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.3845, allocations: 153.2 kB / 0.5515 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/0.3846, allocations: 55.05 kB / 0.5516 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.3846, allocations: 10.02 kB / 0.5516 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3846, allocations: 36.72 kB / 0.5516 GB, free: 8.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.3846, allocations: 0 / 0.5516 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007017/0.3853, allocations: 288 kB / 0.5519 GB, free: 8.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.3854, allocations: 86.31 kB / 0.552 GB, free: 8.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.3856, allocations: 200.5 kB / 0.5522 GB, free: 8.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3856, allocations: 26.77 kB / 0.5522 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.3858, allocations: 168 kB / 0.5523 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.3858, allocations: 51.02 kB / 0.5524 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.3859, allocations: 45.36 kB / 0.5524 GB, free: 8.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3861, allocations: 327.5 kB / 0.5528 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.3862, allocations: 49.97 kB / 0.5528 GB, free: 7.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.3864, allocations: 143.4 kB / 0.5529 GB, free: 7.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3866, allocations: 217.6 kB / 0.5531 GB, free: 7.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3867, allocations: 5.438 kB / 0.5532 GB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003686/0.387, allocations: 232.8 kB / 0.5534 GB, free: 7.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.387, allocations: 7.062 kB / 0.5534 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3871, allocations: 3.469 kB / 0.5534 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.3871, allocations: 4.281 kB / 0.5534 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3873, allocations: 42.92 kB / 0.5534 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3873, allocations: 8.906 kB / 0.5534 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.3874, allocations: 12.95 kB / 0.5534 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.3874, allocations: 8.875 kB / 0.5535 GB, free: 7.277 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.0001868/0.3876, allocations: 158 kB / 0.5536 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.3877, allocations: 23.98 kB / 0.5536 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.3879, allocations: 154.2 kB / 0.5538 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3879, allocations: 6.25 kB / 0.5538 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3879, allocations: 0 / 0.5538 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.388, allocations: 1.156 kB / 0.5538 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.3889, allocations: 0.6142 MB / 0.5544 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3889, allocations: 3.938 kB / 0.5544 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.389, allocations: 37.98 kB / 0.5544 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.389, allocations: 7.5 kB / 0.5544 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.389, allocations: 10.08 kB / 0.5544 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.389, allocations: 4.438 kB / 0.5544 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3891, allocations: 6.875 kB / 0.5545 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.3894, allocations: 351.1 kB / 0.5548 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.3895, allocations: 24.47 kB / 0.5548 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.3895, allocations: 5.344 kB / 0.5548 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3896, allocations: 12.55 kB / 0.5548 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.3897, allocations: 19.86 kB / 0.5548 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3897, allocations: 12.06 kB / 0.5549 GB, free: 6.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3898, allocations: 140.3 kB / 0.555 GB, free: 5.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3898, allocations: 0 / 0.555 GB, free: 5.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.3902, allocations: 43.16 kB / 0.555 GB, free: 5.98 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.0006992/0.3909, allocations: 0.8688 MB / 0.5559 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3912, allocations: 143.9 kB / 0.556 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3912, allocations: 0.875 kB / 0.556 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3913, allocations: 65.91 kB / 0.5561 GB, free: 5.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.3918, allocations: 49.75 kB / 0.5561 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.3947, allocations: 2.416 MB / 0.5585 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.3949, allocations: 147.9 kB / 0.5586 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.395, allocations: 41.61 kB / 0.5587 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3951, allocations: 59.41 kB / 0.5587 GB, free: 2.16 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3951, allocations: 0 / 0.5587 GB, free: 2.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.426, allocations: 4.063 MB / 0.5627 GB, free: 14.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 3.859 kB / 0.5627 GB, free: 14.23 MB / 414.1 MB " [Timeout remaining time 648] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.583757487125695]