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.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 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.001277/0.001277, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.514/1.514, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06378/0.06378, allocations: 14.17 MB / 283.9 MB, free: 7.105 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.001538/0.001538, allocations: 66.94 kB / 345.2 MB, free: 19.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 50.13 MB / 395.3 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.008348/0.1253, allocations: 7.295 MB / 402.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005856/0.1311, allocations: 3.533 MB / 406.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/0.1318, allocations: 15.94 kB / 406.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.1329, allocations: 421.7 kB / 406.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.1366, allocations: 1.566 MB / 408.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1376, allocations: 0.577 MB / 408.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.1397, allocations: 1.832 MB / 410.5 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.14, allocations: 130.2 kB / 410.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006787/0.1406, allocations: 0.6109 MB / 411.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/0.1414, allocations: 0.642 MB / 411.9 MB, free: 488 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.1415, allocations: 64 kB / 412 MB, free: 424 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.1424, allocations: 423.8 kB / 412.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1426, allocations: 167.1 kB / 412.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005145/0.1431, allocations: 0.5364 MB / 413.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1447, allocations: 1.437 MB / 414.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1447, allocations: 0 / 414.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1447, allocations: 0 / 414.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1448, allocations: 0 / 414.5 MB, free: 13.85 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.005159/0.1499, allocations: 1.754 MB / 416.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.15, allocations: 8.031 kB / 416.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.1501, allocations: 122.8 kB / 416.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005646/0.1507, allocations: 151.6 kB / 416.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.1518, allocations: 0.6726 MB / 417.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.1519, allocations: 58.12 kB / 417.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/0.152, allocations: 72 kB / 417.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.1531, allocations: 0.7654 MB / 418.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1532, allocations: 0 / 418.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.1532, allocations: 32 kB / 418.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.1533, allocations: 16 kB / 418.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1544, allocations: 0.7065 MB / 418.9 MB, free: 9.363 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.006365/0.1607, allocations: 5.14 MB / 424 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.1625, allocations: 0.9477 MB / 425 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/0.1629, allocations: 307.8 kB / 425.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.163, allocations: 8.656 kB / 425.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.163, allocations: 43.22 kB / 425.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 1.773e-06/0.163, allocations: 0 / 425.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002955/0.166, allocations: 1.248 MB / 426.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.166, allocations: 60.06 kB / 426.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007412/0.1668, allocations: 0.5492 MB / 427.2 MB, free: 436 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.1669, allocations: 33.7 kB / 427.2 MB, free: 396 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.1672, allocations: 363.8 kB / 427.6 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1743/0.3415, allocations: 275.3 kB / 427.8 MB, free: 37.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.3417, allocations: 131.9 kB / 428 MB, free: 37.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3418, allocations: 376.8 kB / 428.3 MB, free: 37.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.3422, allocations: 218.6 kB / 428.5 MB, free: 37.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.3426, allocations: 328.4 kB / 428.9 MB, free: 37.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.3433, allocations: 0.5874 MB / 429.4 MB, free: 37.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3433, allocations: 1.375 kB / 429.4 MB, free: 37.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001491/0.3448, allocations: 0.864 MB / 430.3 MB, free: 36.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3448, allocations: 9.969 kB / 430.3 MB, free: 36.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3448, allocations: 6.078 kB / 430.3 MB, free: 36.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005479/0.3454, allocations: 176.8 kB / 430.5 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007813/0.3462, allocations: 199.7 kB / 430.7 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.3487, allocations: 2.545 MB / 433.2 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/0.3494, allocations: 46.28 kB / 433.3 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.3494, allocations: 31.92 kB / 433.3 MB, free: 34.9 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.0002497/0.3497, allocations: 226.8 kB / 433.5 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3498, allocations: 77.19 kB / 433.6 MB, free: 34.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.3511, allocations: 0.8015 MB / 434.4 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.3511, allocations: 12.58 kB / 434.4 MB, free: 34.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3511, allocations: 6.281 kB / 434.4 MB, free: 34.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3512, allocations: 7.828 kB / 434.4 MB, free: 34.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.3536, allocations: 1.852 MB / 436.3 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3536, allocations: 0.875 kB / 436.3 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.3543, allocations: 160.4 kB / 436.5 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.3548, allocations: 175 kB / 436.6 MB, free: 33.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.3549, allocations: 16.16 kB / 436.6 MB, free: 33.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.3576, allocations: 2.543 MB / 439.2 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3576, allocations: 3.938 kB / 439.2 MB, free: 31.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.3588, allocations: 0.853 MB / 440 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.3591, allocations: 227.7 kB / 440.3 MB, free: 30.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/0.3592, allocations: 12.34 kB / 440.3 MB, free: 30.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.3597, allocations: 21.98 kB / 440.3 MB, free: 30.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3598, allocations: 45.44 kB / 440.3 MB, free: 30.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.3598, allocations: 21.78 kB / 440.4 MB, free: 30.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004611/0.3603, allocations: 391.3 kB / 440.7 MB, free: 30.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3603, allocations: 4 kB / 440.7 MB, free: 30.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009532/0.3613, allocations: 306.8 kB / 441 MB, free: 30.31 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.00158/0.3629, allocations: 1.469 MB / 442.5 MB, free: 29.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.3648, allocations: 0.8303 MB / 443.3 MB, free: 28.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3649, allocations: 4.125 kB / 443.3 MB, free: 28.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00083/0.3657, allocations: 0.517 MB / 443.9 MB, free: 28.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.3665, allocations: 115.9 kB / 444 MB, free: 28.58 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.007453/0.3739, allocations: 6.021 MB / 450 MB, free: 25.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3743, allocations: 0.9408 MB / 450.9 MB, free: 24.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004268/0.3747, allocations: 93.77 kB / 451 MB, free: 24.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.375, allocations: 269.8 kB / 451.3 MB, free: 24.16 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.375, allocations: 0 / 451.3 MB, free: 24.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.4092, allocations: 17.04 MB / 468.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.247/9.656, allocations: 8.75 kB / 468.3 MB, free: 9.578 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches