Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.0009157/0.0009157, allocations: 90.98 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.006874/0.006874, allocations: 169.3 kB / 16.26 MB, free: 6.68 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.237/1.237, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0561/0.0561, allocations: 14.17 MB / 284.9 MB, free: 7.266 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.0004646/0.0004648, allocations: 16.22 kB / 346.9 MB, free: 19.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07575/0.07623, allocations: 51.11 MB / 398 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.006213/0.08248, allocations: 6.956 MB / 404.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.08745, allocations: 3.476 MB / 408.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.08804, allocations: 15.94 kB / 408.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009177/0.08897, allocations: 370.4 kB / 408.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.09221, allocations: 1.462 MB / 410.2 MB, free: 4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.09317, allocations: 0.5256 MB / 410.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.0952, allocations: 1.86 MB / 412.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.09544, allocations: 110.5 kB / 412.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.09613, allocations: 489.5 kB / 413.2 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005551/0.0967, allocations: 0.5287 MB / 413.7 MB, free: 492 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.09677, allocations: 24 kB / 413.8 MB, free: 468 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000835/0.09761, allocations: 367.7 kB / 414.1 MB, free: 100 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.09772, allocations: 115.2 kB / 414.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.09815, allocations: 0.4952 MB / 414.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.09951, allocations: 1.292 MB / 416 MB, free: 14.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.09952, allocations: 0 / 416 MB, free: 14.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09953, allocations: 0 / 416 MB, free: 14.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.09954, allocations: 0 / 416 MB, free: 14.18 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.004239/0.1038, allocations: 1.516 MB / 417.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1038, allocations: 8.031 kB / 417.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.104, allocations: 118.8 kB / 417.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005518/0.1045, allocations: 151.7 kB / 417.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.1056, allocations: 0.6452 MB / 418.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.1056, allocations: 58.12 kB / 418.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-05/0.1057, allocations: 72 kB / 418.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.1068, allocations: 0.7732 MB / 419.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1069, allocations: 0 / 419.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.1069, allocations: 32 kB / 419.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1069, allocations: 16 kB / 419.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.108, allocations: 0.7026 MB / 420.1 MB, free: 9.965 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.004303/0.1123, allocations: 4.722 MB / 424.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1138, allocations: 0.9477 MB / 425.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.1143, allocations: 311.7 kB / 426.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.1143, allocations: 12.59 kB / 426.1 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1144, allocations: 43.2 kB / 426.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.154e-06/0.1144, allocations: 0 / 426.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002662/0.117, allocations: 1.244 MB / 427.4 MB, free: 2.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1171, allocations: 64.06 kB / 427.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.1176, allocations: 0.4906 MB / 427.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1176, allocations: 45.69 kB / 428 MB, free: 1.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1179, allocations: 359.8 kB / 428.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.118, allocations: 276 kB / 428.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.1181, allocations: 61.69 kB / 428.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1183, allocations: 374.8 kB / 429 MB, free: 404 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1186, allocations: 221.9 kB / 429.2 MB, free: 180 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1345/0.2532, allocations: 327.6 kB / 429.6 MB, free: 25.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/0.2541, allocations: 0.5898 MB / 430.2 MB, free: 25.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2541, allocations: 3.406 kB / 430.2 MB, free: 25.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001377/0.2555, allocations: 0.856 MB / 431 MB, free: 25.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2555, allocations: 7.484 kB / 431 MB, free: 25.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.2555, allocations: 6.688 kB / 431 MB, free: 25.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.256, allocations: 180.3 kB / 431.2 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.2568, allocations: 197.5 kB / 431.4 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.2592, allocations: 2.347 MB / 433.7 MB, free: 23.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.2598, allocations: 50.3 kB / 433.8 MB, free: 23.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.2598, allocations: 28.44 kB / 433.8 MB, free: 23.89 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.0002617/0.2601, allocations: 230.8 kB / 434.1 MB, free: 23.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2602, allocations: 76.75 kB / 434.1 MB, free: 23.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.2615, allocations: 0.8 MB / 434.9 MB, free: 23.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.2615, allocations: 8.531 kB / 434.9 MB, free: 23.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2615, allocations: 4.938 kB / 434.9 MB, free: 23.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2615, allocations: 5.422 kB / 434.9 MB, free: 23.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.2636, allocations: 1.728 MB / 436.7 MB, free: 23.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2637, allocations: 5.578 kB / 436.7 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.2643, allocations: 165.2 kB / 436.8 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/0.2647, allocations: 172 kB / 437 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.2648, allocations: 12.41 kB / 437 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.2669, allocations: 2.347 MB / 439.4 MB, free: 21.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2669, allocations: 1.156 kB / 439.4 MB, free: 21.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.2681, allocations: 0.8651 MB / 440.2 MB, free: 21.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.2683, allocations: 196 kB / 440.4 MB, free: 21.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.2684, allocations: 15.31 kB / 440.4 MB, free: 21.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.2688, allocations: 37.45 kB / 440.5 MB, free: 21.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.2689, allocations: 50.75 kB / 440.5 MB, free: 21.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.2689, allocations: 16.75 kB / 440.5 MB, free: 21.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003478/0.2692, allocations: 348.5 kB / 440.9 MB, free: 21.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2693, allocations: 0 / 440.9 MB, free: 21.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006665/0.2699, allocations: 280.1 kB / 441.2 MB, free: 21.47 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.001397/0.2713, allocations: 1.473 MB / 442.6 MB, free: 20.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.2724, allocations: 0.7977 MB / 443.4 MB, free: 20.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2725, allocations: 4.125 kB / 443.4 MB, free: 20.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.2731, allocations: 0.5175 MB / 443.9 MB, free: 19.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.2736, allocations: 83.45 kB / 444 MB, free: 19.85 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.006827/0.2805, allocations: 6.059 MB / 450.1 MB, free: 16.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2808, allocations: 0.9389 MB / 451 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.2812, allocations: 98.7 kB / 451.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.2815, allocations: 269.8 kB / 451.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2815, allocations: 0 / 451.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.3125, allocations: 14.34 MB / 465.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.3127, allocations: 222.4 kB / 465.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.13, allocations: 0 / 465.9 MB, free: 5.441 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches