Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.0008026/0.0008026, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008388/0.0008388, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.772/0.772, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03612/0.03612, allocations: 10.66 MB / 247.1 MB, free: 4.691 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 368.1 MB, free: 6.359 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.676e-05, allocations: 6.281 kB / 368.1 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.004591/0.004607, allocations: 6.374 MB / 374.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00333/0.007938, allocations: 3.257 MB / 377.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.008258, allocations: 19.88 kB / 377.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000654/0.008912, allocations: 385.5 kB / 378.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.01072, allocations: 1.555 MB / 379.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.01125, allocations: 0.5634 MB / 380.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.01247, allocations: 1.972 MB / 382.2 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.01261, allocations: 66.42 kB / 382.3 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.01326, allocations: 0.8962 MB / 383.2 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.01367, allocations: 0.5063 MB / 383.7 MB, free: 6.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.01373, allocations: 64 kB / 383.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.01418, allocations: 419.4 kB / 384.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.01426, allocations: 151.2 kB / 384.3 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.0145, allocations: 398.8 kB / 384.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.01551, allocations: 1.496 MB / 386.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01551, allocations: 0 / 386.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01552, allocations: 0 / 386.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.01553, allocations: 3.938 kB / 386.2 MB, free: 4.184 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002494/0.01802, allocations: 1.623 MB / 387.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.01805, allocations: 12.03 kB / 387.8 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.738e-05/0.01814, allocations: 122.6 kB / 388 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.01844, allocations: 152.2 kB / 388.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/0.01916, allocations: 0.6148 MB / 388.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.01919, allocations: 58.31 kB / 388.8 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.01924, allocations: 68.38 kB / 388.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.01993, allocations: 0.7555 MB / 389.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01994, allocations: 0 / 389.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.01998, allocations: 28 kB / 389.6 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01999, allocations: 23.98 kB / 389.7 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.02066, allocations: 0.6597 MB / 390.3 MB, free: 15.96 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.02346, allocations: 3.041 MB / 393.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.02435, allocations: 0.7305 MB / 394.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.0246, allocations: 258.8 kB / 394.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.02464, allocations: 8.656 kB / 394.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.02466, allocations: 43.22 kB / 394.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 1.673e-06/0.02466, allocations: 4 kB / 394.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=77): time 0.00265/0.02731, allocations: 1.532 MB / 395.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.02734, allocations: 60.06 kB / 396 MB, free: 10.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.02777, allocations: 0.5536 MB / 396.5 MB, free: 9.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.0278, allocations: 41.7 kB / 396.6 MB, free: 9.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.02797, allocations: 364.7 kB / 396.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.02811, allocations: 277.5 kB / 397.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.02823, allocations: 134.6 kB / 397.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.02835, allocations: 378.7 kB / 397.7 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.02859, allocations: 205.9 kB / 397.9 MB, free: 8.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.02886, allocations: 338 kB / 398.2 MB, free: 7.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.02941, allocations: 0.5797 MB / 398.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02942, allocations: 0 / 398.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001084/0.0305, allocations: 0.9464 MB / 399.8 MB, free: 6.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.03052, allocations: 4 kB / 399.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.03053, allocations: 4 kB / 399.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/0.03116, allocations: 333.5 kB / 400.1 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.03147, allocations: 155.8 kB / 400.3 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.03449, allocations: 3.33 MB / 403.6 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.0348, allocations: 55.67 kB / 403.6 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.03483, allocations: 27.94 kB / 403.7 MB, free: 2.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.03503, allocations: 226.1 kB / 403.9 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.03511, allocations: 79.53 kB / 404 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009992/0.03611, allocations: 0.8724 MB / 404.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.03611, allocations: 8 kB / 404.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.03611, allocations: 0 / 404.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.03612, allocations: 3.984 kB / 404.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.03782, allocations: 1.632 MB / 406.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.03782, allocations: 0 / 406.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.03806, allocations: 119.9 kB / 406.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.03857, allocations: 300.6 kB / 406.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.0386, allocations: 12 kB / 406.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/0.04137, allocations: 3.216 MB / 410.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.04137, allocations: 3.984 kB / 410.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/0.04236, allocations: 0.937 MB / 411.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.04256, allocations: 151.4 kB / 411.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.04261, allocations: 12 kB / 411.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.04284, allocations: 20 kB / 411.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.04291, allocations: 64.41 kB / 411.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.04293, allocations: 20 kB / 411.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003015/0.04323, allocations: 390.8 kB / 411.7 MB, free: 10 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04323, allocations: 0 / 411.7 MB, free: 10 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000607/0.04384, allocations: 339.8 kB / 412 MB, free: 9.668 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/0.04514, allocations: 1.551 MB / 413.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009982/0.04614, allocations: 0.8766 MB / 414.5 MB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.04614, allocations: 4.125 kB / 414.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.04669, allocations: 0.5873 MB / 415.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.04712, allocations: 118.2 kB / 415.2 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/0.05284, allocations: 6.029 MB / 421.2 MB, free: 296 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.05307, allocations: 348.7 kB / 421.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.05327, allocations: 85.31 kB / 421.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.05351, allocations: 260.4 kB / 421.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05351, allocations: 0 / 421.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/0.1993, allocations: 20.85 MB / 442.7 MB, free: 68.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.75, allocations: 10.52 kB / 442.7 MB, free: 68.62 MB / 362.7 MB " [Timeout remaining time 652] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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: 9.373508406803012]