Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.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(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.007199/0.007199, allocations: 99.31 kB / 15.73 MB, free: 6.059 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.001765/0.001765, allocations: 191.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06983/0.06983, allocations: 14.17 MB / 284.1 MB, free: 6.996 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003402/0.003402, allocations: 72.67 kB / 396 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3217, allocations: 50.14 MB / 446.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.007878/0.3296, allocations: 7.162 MB / 453.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006631/0.3363, allocations: 3.519 MB / 456.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009232/0.3373, allocations: 20.69 kB / 456.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.3384, allocations: 409.5 kB / 457.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003999/0.3424, allocations: 1.563 MB / 458.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3436, allocations: 0.5659 MB / 459.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.3463, allocations: 1.826 MB / 461.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.3466, allocations: 127.6 kB / 461.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.3477, allocations: 0.608 MB / 461.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008896/0.3486, allocations: 0.6287 MB / 462.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3487, allocations: 62.12 kB / 462.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.3497, allocations: 424.9 kB / 463 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.35, allocations: 160.3 kB / 463.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.3506, allocations: 0.5354 MB / 463.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.3532, allocations: 1.494 MB / 465.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3532, allocations: 0 / 465.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3532, allocations: 0 / 465.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.3532, allocations: 1.188 kB / 465.2 MB, free: 3.625 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00603/0.3593, allocations: 1.72 MB / 466.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3593, allocations: 8.031 kB / 466.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.3596, allocations: 122.7 kB / 467.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.3603, allocations: 148.3 kB / 467.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.3619, allocations: 0.6772 MB / 467.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.362, allocations: 54.12 kB / 467.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.3621, allocations: 75.94 kB / 468 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.3633, allocations: 0.7553 MB / 468.8 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.3633, allocations: 4 kB / 468.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.3634, allocations: 28 kB / 468.8 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3634, allocations: 20 kB / 468.8 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.3646, allocations: 0.6674 MB / 469.5 MB, free: 15.55 MB / 350.1 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.00834/0.373, allocations: 5.231 MB / 474.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.3749, allocations: 0.9421 MB / 475.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.3754, allocations: 294.7 kB / 475.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/0.3755, allocations: 8.656 kB / 476 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.3755, allocations: 43.22 kB / 476 MB, free: 8.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.887e-06/0.3755, allocations: 0 / 476 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004991/0.3805, allocations: 1.566 MB / 477.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.3806, allocations: 56.06 kB / 477.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/0.3814, allocations: 0.5537 MB / 478.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.3815, allocations: 41.7 kB / 478.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.3818, allocations: 360.7 kB / 478.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.3821, allocations: 285.5 kB / 478.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3824, allocations: 130.6 kB / 479 MB, free: 5.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.3826, allocations: 374.8 kB / 479.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.383, allocations: 205.9 kB / 479.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.3834, allocations: 338 kB / 479.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/0.3844, allocations: 0.5952 MB / 480.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3844, allocations: 0 / 480.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002083/0.3865, allocations: 0.9473 MB / 481.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3866, allocations: 8.031 kB / 481.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3866, allocations: 4 kB / 481.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3877, allocations: 295.2 kB / 481.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.3884, allocations: 163.8 kB / 481.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/0.3937, allocations: 3.336 MB / 485.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009284/0.3947, allocations: 51.72 kB / 485.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.3948, allocations: 28 kB / 485.3 MB, free: 14.86 MB / 366.1 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 (71): * Single equations (assignments): 70 * 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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.3951, allocations: 233.5 kB / 485.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3953, allocations: 79.47 kB / 485.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.3974, allocations: 0.8763 MB / 486.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3975, allocations: 11.94 kB / 486.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3975, allocations: 8 kB / 486.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3975, allocations: 3.984 kB / 486.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.4009, allocations: 1.913 MB / 488.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4009, allocations: 0 / 488.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.4015, allocations: 131.9 kB / 488.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.4026, allocations: 293 kB / 488.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.4026, allocations: 12 kB / 488.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005069/0.4077, allocations: 3.26 MB / 492.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4077, allocations: 0 / 492.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.4098, allocations: 0.9409 MB / 493 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.4103, allocations: 224.5 kB / 493.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.603e-05/0.4104, allocations: 16 kB / 493.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.4109, allocations: 31.86 kB / 493.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4111, allocations: 52.58 kB / 493.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.4111, allocations: 19.94 kB / 493.4 MB, free: 6.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005555/0.4117, allocations: 386.8 kB / 493.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4117, allocations: 0 / 493.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00101/0.4127, allocations: 335.8 kB / 494.1 MB, free: 5.785 MB / 366.1 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 (51): * Single equations (assignments): 50 * 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 {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/0.4151, allocations: 1.555 MB / 495.6 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.417, allocations: 0.8762 MB / 496.5 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.417, allocations: 3.938 kB / 496.5 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.418, allocations: 0.583 MB / 497.1 MB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.4188, allocations: 110.3 kB / 497.2 MB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4289, allocations: 6.018 MB / 0.4914 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.4296, allocations: 0.9389 MB / 0.4923 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.43, allocations: 89.3 kB / 0.4924 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.4303, allocations: 259.3 kB / 0.4927 GB, free: 11.11 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4303, allocations: 0 / 0.4927 GB, free: 11.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05617/0.4865, allocations: 19.79 MB / 0.512 GB, free: 7.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.41, allocations: 3.938 kB / 0.512 GB, free: 7.285 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches