Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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.001903/0.001903, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.425/1.425, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06258/0.06258, allocations: 14.17 MB / 283.9 MB, free: 7.074 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.001478/0.001479, allocations: 82.69 kB / 345.2 MB, free: 19.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1011, allocations: 50.12 MB / 395.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.007466/0.1086, allocations: 7.291 MB / 402.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005259/0.1139, allocations: 3.537 MB / 406.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007475/0.1147, allocations: 19.94 kB / 406.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.1159, allocations: 417.6 kB / 406.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.1199, allocations: 1.574 MB / 408.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1211, allocations: 0.5659 MB / 408.7 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.1235, allocations: 1.844 MB / 410.5 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.1239, allocations: 126.5 kB / 410.7 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.1251, allocations: 0.6032 MB / 411.3 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.1262, allocations: 0.642 MB / 411.9 MB, free: 468 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.1264, allocations: 64 kB / 412 MB, free: 404 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.1276, allocations: 427.7 kB / 412.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1278, allocations: 163.2 kB / 412.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000846/0.1286, allocations: 0.548 MB / 413.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.1306, allocations: 1.433 MB / 414.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1306, allocations: 0 / 414.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1306, allocations: 3.984 kB / 414.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1306, allocations: 0 / 414.5 MB, free: 13.82 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005377/0.136, allocations: 1.746 MB / 416.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.1361, allocations: 12.03 kB / 416.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.1362, allocations: 118.8 kB / 416.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.1368, allocations: 151.7 kB / 416.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1379, allocations: 0.6648 MB / 417.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.1379, allocations: 58.12 kB / 417.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.92e-05/0.138, allocations: 68 kB / 417.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1392, allocations: 0.7693 MB / 418.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.1392, allocations: 7.938 kB / 418.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.1393, allocations: 31.98 kB / 418.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.1393, allocations: 20 kB / 418.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1403, allocations: 0.6987 MB / 418.9 MB, free: 9.348 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.006003/0.1464, allocations: 5.107 MB / 424 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.148, allocations: 0.9554 MB / 424.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.1484, allocations: 303.8 kB / 425.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.573e-05/0.1485, allocations: 12.64 kB / 425.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1485, allocations: 39.22 kB / 425.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.395e-06/0.1485, allocations: 0 / 425.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002819/0.1514, allocations: 1.248 MB / 426.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1514, allocations: 60.06 kB / 426.6 MB, free: 1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/0.1521, allocations: 0.5492 MB / 427.1 MB, free: 456 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.1522, allocations: 41.7 kB / 427.2 MB, free: 408 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.1524, allocations: 363.8 kB / 427.5 MB, free: 36 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1901/0.3425, allocations: 270.5 kB / 427.8 MB, free: 37.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.3428, allocations: 135.1 kB / 427.9 MB, free: 37.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3429, allocations: 372.2 kB / 428.3 MB, free: 37.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.3433, allocations: 218.5 kB / 428.5 MB, free: 37.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.3437, allocations: 336.1 kB / 428.8 MB, free: 37.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.3444, allocations: 0.5927 MB / 429.4 MB, free: 37.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3444, allocations: 2.906 kB / 429.4 MB, free: 37.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001765/0.3462, allocations: 0.8576 MB / 430.3 MB, free: 36.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.3462, allocations: 11.42 kB / 430.3 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3463, allocations: 3.688 kB / 430.3 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006898/0.347, allocations: 183.8 kB / 430.5 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.3479, allocations: 193.2 kB / 430.7 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.3509, allocations: 2.535 MB / 433.2 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007168/0.3516, allocations: 50.86 kB / 433.3 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.3517, allocations: 32.17 kB / 433.3 MB, free: 34.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000363/0.3521, allocations: 221.2 kB / 433.5 MB, free: 34.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3522, allocations: 79.83 kB / 433.6 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.3538, allocations: 0.8025 MB / 434.4 MB, free: 34.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.3539, allocations: 10.72 kB / 434.4 MB, free: 34.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3539, allocations: 5.297 kB / 434.4 MB, free: 34.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3539, allocations: 3.328 kB / 434.4 MB, free: 34.31 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 postOpt removeSimpleEquations (simulation): time 0.002579/0.3565, allocations: 1.851 MB / 436.3 MB, free: 33.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.3565, allocations: 1.266 kB / 436.3 MB, free: 33.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007252/0.3572, allocations: 162.1 kB / 436.4 MB, free: 33.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/0.3577, allocations: 180.3 kB / 436.6 MB, free: 33.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.3578, allocations: 13.77 kB / 436.6 MB, free: 33.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.3605, allocations: 2.522 MB / 439.1 MB, free: 31.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3605, allocations: 0 / 439.1 MB, free: 31.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.3618, allocations: 0.8636 MB / 440 MB, free: 30.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.3622, allocations: 227.9 kB / 440.2 MB, free: 30.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.081e-05/0.3623, allocations: 16.16 kB / 440.2 MB, free: 30.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.3628, allocations: 16.7 kB / 440.2 MB, free: 30.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.3629, allocations: 51.08 kB / 440.3 MB, free: 30.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.3629, allocations: 16.53 kB / 440.3 MB, free: 30.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005122/0.3634, allocations: 389.5 kB / 440.7 MB, free: 30.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3634, allocations: 0 / 440.7 MB, free: 30.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001266/0.3647, allocations: 306 kB / 441 MB, free: 30.37 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 (63): * Single equations (assignments): 62 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/0.3664, allocations: 1.473 MB / 442.5 MB, free: 29.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.3681, allocations: 0.8431 MB / 443.3 MB, free: 28.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.3681, allocations: 0 / 443.3 MB, free: 28.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.3691, allocations: 0.5217 MB / 443.8 MB, free: 28.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.37, allocations: 116.4 kB / 443.9 MB, free: 28.64 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.009025/0.3791, allocations: 6.035 MB / 450 MB, free: 25.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.3795, allocations: 0.9433 MB / 450.9 MB, free: 24.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005014/0.3801, allocations: 98.59 kB / 451 MB, free: 24.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.3804, allocations: 269.4 kB / 451.3 MB, free: 24.21 MB / 318.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3804, allocations: 3.5 kB / 451.3 MB, free: 24.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06672/0.4471, allocations: 17.03 MB / 468.3 MB, free: 9.609 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.91/10.36, allocations: 11.7 kB / 468.3 MB, free: 9.602 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches