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.001859/0.001859, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001625/0.001625, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.553/1.553, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.19/0.19, allocations: 38.52 MB / 353.2 MB, free: 12.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="cs",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.00253/0.00253, allocations: 71.02 kB / 493.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3788, allocations: 62.47 MB / 0.5428 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005246/0.3841, allocations: 3.574 MB / 0.5463 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3864, allocations: 1.511 MB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.3865, allocations: 8.656 kB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008652/0.3874, allocations: 260 kB / 0.548 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.3882, allocations: 282.2 kB / 0.5483 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.3886, allocations: 114 kB / 0.5484 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.3892, allocations: 334.4 kB / 0.5487 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.3896, allocations: 118.5 kB / 0.5488 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.39, allocations: 172.9 kB / 0.549 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.3903, allocations: 158.3 kB / 0.5491 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.3903, allocations: 14.03 kB / 0.5491 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006711/0.391, allocations: 321.4 kB / 0.5494 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3911, allocations: 102.4 kB / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.3913, allocations: 104.8 kB / 0.5496 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.3919, allocations: 344 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3919, allocations: 5.062 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3919, allocations: 0 / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.3919, allocations: 0 / 0.55 GB, free: 10.98 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.0008001/0.3927, allocations: 450.6 kB / 0.5504 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.3928, allocations: 14.14 kB / 0.5504 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.3928, allocations: 4.031 kB / 0.5504 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.3929, allocations: 54.94 kB / 0.5505 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.3938, allocations: 86.7 kB / 0.5505 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.3942, allocations: 213.9 kB / 0.5508 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3942, allocations: 15.31 kB / 0.5508 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.3942, allocations: 24.14 kB / 0.5508 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.3948, allocations: 324.9 kB / 0.5511 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3948, allocations: 0 / 0.5511 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.3948, allocations: 6.812 kB / 0.5511 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.3949, allocations: 19.8 kB / 0.5511 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.3953, allocations: 288.1 kB / 0.5514 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.3975, allocations: 1.247 MB / 0.5526 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.398, allocations: 157.7 kB / 0.5528 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3981, allocations: 55.25 kB / 0.5528 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3981, allocations: 2.406 kB / 0.5528 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3981, allocations: 31.78 kB / 0.5529 GB, free: 8.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.3981, allocations: 4 kB / 0.5529 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007574/0.3989, allocations: 299 kB / 0.5531 GB, free: 8.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.399, allocations: 80.02 kB / 0.5532 GB, free: 8.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.3992, allocations: 197.9 kB / 0.5534 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3992, allocations: 26.7 kB / 0.5534 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3994, allocations: 172.2 kB / 0.5536 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.3994, allocations: 49.89 kB / 0.5536 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.3995, allocations: 46.12 kB / 0.5537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3997, allocations: 331.1 kB / 0.554 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.3998, allocations: 45.72 kB / 0.554 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3999, allocations: 144 kB / 0.5542 GB, free: 7.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.4002, allocations: 218.3 kB / 0.5544 GB, free: 7.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4002, allocations: 3.938 kB / 0.5544 GB, free: 7.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003413/0.4006, allocations: 226.4 kB / 0.5546 GB, free: 7.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4006, allocations: 7.531 kB / 0.5546 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4006, allocations: 3.188 kB / 0.5546 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4006, allocations: 4.75 kB / 0.5546 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4008, allocations: 55.25 kB / 0.5547 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.4008, allocations: 4.344 kB / 0.5547 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.4009, allocations: 9.156 kB / 0.5547 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.4009, allocations: 9.25 kB / 0.5547 GB, free: 7.082 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.0001842/0.4011, allocations: 165.8 kB / 0.5549 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.4011, allocations: 14.81 kB / 0.5549 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.4014, allocations: 146.1 kB / 0.555 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4014, allocations: 6.234 kB / 0.555 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4014, allocations: 5.656 kB / 0.555 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4014, allocations: 3.938 kB / 0.555 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/0.4024, allocations: 0.6361 MB / 0.5556 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4024, allocations: 8.625 kB / 0.5557 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.4025, allocations: 29.02 kB / 0.5557 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.4025, allocations: 3.75 kB / 0.5557 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.4025, allocations: 5.5 kB / 0.5557 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.4025, allocations: 5.031 kB / 0.5557 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4025, allocations: 11.31 kB / 0.5557 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.4029, allocations: 331.8 kB / 0.556 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.403, allocations: 36.3 kB / 0.5561 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.403, allocations: 5.844 kB / 0.5561 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.4031, allocations: 7.594 kB / 0.5561 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.4032, allocations: 22.77 kB / 0.5561 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.4032, allocations: 8.312 kB / 0.5561 GB, free: 5.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.4033, allocations: 145 kB / 0.5562 GB, free: 5.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4033, allocations: 4 kB / 0.5562 GB, free: 5.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.4037, allocations: 43.28 kB / 0.5563 GB, free: 5.766 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.0007155/0.4044, allocations: 0.8699 MB / 0.5571 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.4047, allocations: 135.5 kB / 0.5573 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4047, allocations: 2.031 kB / 0.5573 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.4049, allocations: 64.38 kB / 0.5573 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.4053, allocations: 42.19 kB / 0.5574 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.4082, allocations: 2.427 MB / 0.5597 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.4087, allocations: 0.7593 MB / 0.5605 GB, free: 1.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.4088, allocations: 53.58 kB / 0.5605 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.4089, allocations: 55.42 kB / 0.5606 GB, free: 1.375 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4089, allocations: 0 / 0.5606 GB, free: 1.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.4318, allocations: 3.781 MB / 0.5643 GB, free: 13.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.67, allocations: 14.75 kB / 0.5643 GB, free: 13.72 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.83755784202367]