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.007774/0.007782, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001853/0.001853, allocations: 188.6 kB / 16.67 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.495/1.495, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06233/0.06233, allocations: 14.17 MB / 284.1 MB, free: 6.988 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.001382/0.001383, allocations: 76.11 kB / 396 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2731, allocations: 50.13 MB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.006882/0.28, allocations: 7.166 MB / 453.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005702/0.2858, allocations: 3.523 MB / 456.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.2869, allocations: 16.31 kB / 456.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.2885, allocations: 405.9 kB / 457.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.2932, allocations: 1.565 MB / 458.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2946, allocations: 0.5707 MB / 459.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003101/0.2978, allocations: 1.823 MB / 461.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.2981, allocations: 121.7 kB / 461.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.2992, allocations: 0.6278 MB / 461.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.3, allocations: 0.63 MB / 462.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.1e-05/0.3001, allocations: 60.78 kB / 462.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.3012, allocations: 429.9 kB / 463 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3014, allocations: 159.5 kB / 463.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.3019, allocations: 0.5364 MB / 463.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.304, allocations: 1.478 MB / 465.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.304, allocations: 0 / 465.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.304, allocations: 0 / 465.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.304, allocations: 1.219 kB / 465.2 MB, free: 3.645 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.004989/0.309, allocations: 1.689 MB / 466.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3091, allocations: 8.031 kB / 466.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.3092, allocations: 118.6 kB / 467 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/0.3098, allocations: 147.8 kB / 467.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.3111, allocations: 0.6688 MB / 467.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.3112, allocations: 58.12 kB / 467.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.3113, allocations: 72 kB / 468 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3124, allocations: 0.7631 MB / 468.7 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3125, allocations: 0 / 468.7 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.3125, allocations: 32 kB / 468.8 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.3126, allocations: 20 kB / 468.8 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3136, allocations: 0.6714 MB / 469.5 MB, free: 15.59 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.005937/0.3196, allocations: 5.223 MB / 474.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.3212, allocations: 0.9417 MB / 475.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.3216, allocations: 290.7 kB / 475.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.3216, allocations: 8.656 kB / 475.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.3217, allocations: 51.09 kB / 476 MB, free: 8.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 1.964e-06/0.3217, allocations: 0 / 476 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004443/0.3261, allocations: 1.565 MB / 477.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3262, allocations: 60.06 kB / 477.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.3269, allocations: 0.5497 MB / 478.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.3269, allocations: 37.7 kB / 478.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.3272, allocations: 351.9 kB / 478.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.3274, allocations: 276 kB / 478.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.3276, allocations: 130.6 kB / 478.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3278, allocations: 374.8 kB / 479.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.3282, allocations: 209.9 kB / 479.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.3286, allocations: 330.1 kB / 479.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.3294, allocations: 0.5836 MB / 480.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3294, allocations: 0 / 480.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001774/0.3312, allocations: 0.9505 MB / 481.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3312, allocations: 4 kB / 481.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3312, allocations: 4 kB / 481.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3323, allocations: 291.5 kB / 481.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.3329, allocations: 167.8 kB / 481.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/0.3376, allocations: 3.336 MB / 485.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/0.3383, allocations: 51.53 kB / 485.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.3384, allocations: 24 kB / 485.2 MB, free: 14.94 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.0002852/0.3387, allocations: 225.6 kB / 485.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3388, allocations: 71.16 kB / 485.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.3405, allocations: 0.8841 MB / 486.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.3405, allocations: 11.94 kB / 486.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3405, allocations: 4 kB / 486.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.3405, allocations: 3.984 kB / 486.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.3433, allocations: 1.924 MB / 488.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3434, allocations: 4 kB / 488.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.3439, allocations: 123.9 kB / 488.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009821/0.3449, allocations: 297 kB / 488.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.3449, allocations: 12 kB / 488.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004918/0.3499, allocations: 3.251 MB / 492 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3499, allocations: 0 / 492 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.3517, allocations: 0.9366 MB / 492.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004685/0.3522, allocations: 228 kB / 493.2 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3524, allocations: 12 kB / 493.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.3529, allocations: 27.92 kB / 493.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3531, allocations: 48.58 kB / 493.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.3531, allocations: 24 kB / 493.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005485/0.3537, allocations: 386.8 kB / 493.6 MB, free: 6.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3537, allocations: 4 kB / 493.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001106/0.3548, allocations: 335.7 kB / 494 MB, free: 5.871 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.002178/0.357, allocations: 1.554 MB / 495.5 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.3587, allocations: 0.8682 MB / 496.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3587, allocations: 3.938 kB / 496.4 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009957/0.3597, allocations: 0.583 MB / 497 MB, free: 2.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.3604, allocations: 109.9 kB / 497.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009219/0.3696, allocations: 5.988 MB / 0.4913 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.3702, allocations: 0.9389 MB / 0.4922 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.3706, allocations: 81.31 kB / 0.4923 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.371, allocations: 259.3 kB / 0.4925 GB, free: 11.25 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.371, allocations: 0 / 0.4925 GB, free: 11.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05387/0.4248, allocations: 20.32 MB / 0.5124 GB, free: 6.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.71, allocations: 7.656 kB / 0.5124 GB, free: 6.891 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