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.0008638/0.0008638, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005001/0.005001, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.173/1.173, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05558/0.05558, allocations: 14.16 MB / 284.9 MB, free: 7.273 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.0004322/0.0004323, allocations: 20.22 kB / 346.9 MB, free: 19.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06959/0.07003, allocations: 51.11 MB / 398 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.005598/0.07566, allocations: 6.831 MB / 404.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.07942, allocations: 3.449 MB / 408.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.07967, allocations: 23.88 kB / 408.3 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.08033, allocations: 366.4 kB / 408.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.08279, allocations: 1.448 MB / 410.1 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008605/0.08366, allocations: 0.5368 MB / 410.6 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.08534, allocations: 1.832 MB / 412.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.08554, allocations: 118.4 kB / 412.6 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.08599, allocations: 477.5 kB / 413 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.08649, allocations: 0.5093 MB / 413.5 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.08655, allocations: 28 kB / 413.6 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.08711, allocations: 367.7 kB / 413.9 MB, free: 304 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.987e-05/0.0872, allocations: 111.2 kB / 414 MB, free: 192 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.08759, allocations: 499 kB / 414.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.08868, allocations: 1.269 MB / 415.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.08869, allocations: 0 / 415.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0887, allocations: 0 / 415.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.08871, allocations: 0 / 415.8 MB, free: 14.42 MB / 318.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.003836/0.09255, allocations: 1.473 MB / 417.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.09259, allocations: 8.031 kB / 417.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.09272, allocations: 118.7 kB / 417.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.09325, allocations: 147.8 kB / 417.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.09414, allocations: 0.6374 MB / 418.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.09419, allocations: 62.06 kB / 418.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.149e-05/0.09429, allocations: 68 kB / 418.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.09532, allocations: 0.7476 MB / 419.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.09534, allocations: 4 kB / 419.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.0954, allocations: 31.94 kB / 419.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.09543, allocations: 20 kB / 419.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009753/0.09641, allocations: 0.6752 MB / 419.8 MB, free: 10.29 MB / 318.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.003975/0.1004, allocations: 4.812 MB / 424.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.1018, allocations: 0.9438 MB / 425.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.1022, allocations: 299.1 kB / 425.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.1023, allocations: 8.656 kB / 425.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1023, allocations: 43.22 kB / 425.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 1.844e-06/0.1023, allocations: 0 / 425.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004154/0.1065, allocations: 1.576 MB / 427.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1065, allocations: 60.06 kB / 427.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.107, allocations: 499 kB / 428 MB, free: 1.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.1071, allocations: 41.64 kB / 428 MB, free: 1.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.1073, allocations: 355.9 kB / 428.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.1075, allocations: 272.1 kB / 428.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.1076, allocations: 65.69 kB / 428.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1077, allocations: 374.8 kB / 429.1 MB, free: 332 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.108, allocations: 209.9 kB / 429.3 MB, free: 120 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1328/0.2408, allocations: 325.2 kB / 429.6 MB, free: 25.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007756/0.2416, allocations: 0.5864 MB / 430.2 MB, free: 25.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2417, allocations: 1.062 kB / 430.2 MB, free: 25.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001684/0.2433, allocations: 0.9423 MB / 431.1 MB, free: 25.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2434, allocations: 7.391 kB / 431.1 MB, free: 25.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2434, allocations: 2.75 kB / 431.2 MB, free: 25.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.2444, allocations: 300.3 kB / 431.4 MB, free: 25.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.245, allocations: 159.9 kB / 431.6 MB, free: 25.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.2489, allocations: 3.036 MB / 434.6 MB, free: 24.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.2494, allocations: 56.39 kB / 434.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.2494, allocations: 23.88 kB / 434.7 MB, free: 24.36 MB / 318.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.0002455/0.2497, allocations: 225 kB / 434.9 MB, free: 24.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.2498, allocations: 73.56 kB / 435 MB, free: 24.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.2514, allocations: 0.8867 MB / 435.9 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2514, allocations: 11.47 kB / 435.9 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.2514, allocations: 0.5156 kB / 435.9 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.2514, allocations: 4.75 kB / 435.9 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.2537, allocations: 1.796 MB / 437.7 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2538, allocations: 0.6094 kB / 437.7 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.2542, allocations: 132.5 kB / 437.8 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000907/0.2551, allocations: 292.4 kB / 438.1 MB, free: 23.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2552, allocations: 16.89 kB / 438.1 MB, free: 23.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/0.2585, allocations: 2.975 MB / 441.1 MB, free: 21.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2585, allocations: 3.984 kB / 441.1 MB, free: 21.9 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.26, allocations: 0.931 MB / 442 MB, free: 21.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.2602, allocations: 201.4 kB / 442.2 MB, free: 21.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.2602, allocations: 16.34 kB / 442.3 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.2606, allocations: 32.53 kB / 442.3 MB, free: 21.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2607, allocations: 52.91 kB / 442.3 MB, free: 21.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.2608, allocations: 17.14 kB / 442.4 MB, free: 21.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003544/0.2611, allocations: 346.7 kB / 442.7 MB, free: 21.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2612, allocations: 4 kB / 442.7 MB, free: 21.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007038/0.2619, allocations: 299.7 kB / 443 MB, free: 21.04 MB / 318.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.001695/0.2636, allocations: 1.552 MB / 444.5 MB, free: 20.04 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.001251/0.2648, allocations: 0.8565 MB / 445.4 MB, free: 19.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2648, allocations: 1.562 kB / 445.4 MB, free: 19.65 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.0007673/0.2656, allocations: 0.5662 MB / 446 MB, free: 19.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.2661, allocations: 88.97 kB / 446.1 MB, free: 19.31 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/0.2734, allocations: 6.234 MB / 452.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.2737, allocations: 0.9426 MB / 453.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.274, allocations: 83.98 kB / 453.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.2742, allocations: 253.4 kB / 453.6 MB, free: 14.74 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2742, allocations: 0 / 453.6 MB, free: 14.74 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.2981, allocations: 16.52 MB / 470.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.2983, allocations: 242.3 kB / 470.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.218, allocations: 0 / 470.3 MB, free: 1.246 MB / 318.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","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches