Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",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.0008546/0.0008545, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005253/0.005253, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.211/1.211, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05564/0.05564, allocations: 14.16 MB / 284.9 MB, free: 7.039 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.0005122/0.0005122, allocations: 16.22 kB / 346.9 MB, free: 19.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07459/0.07511, allocations: 51.11 MB / 398 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.005435/0.08058, allocations: 6.835 MB / 404.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.08411, allocations: 3.452 MB / 408.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.08435, allocations: 19.88 kB / 408.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.08497, allocations: 362.4 kB / 408.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.08735, allocations: 1.448 MB / 410.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.08818, allocations: 0.5409 MB / 410.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.0898, allocations: 1.829 MB / 412.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.08999, allocations: 114.5 kB / 412.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.09042, allocations: 473.6 kB / 413 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.09091, allocations: 0.5093 MB / 413.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.09096, allocations: 28 kB / 413.6 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005366/0.09151, allocations: 363.7 kB / 413.9 MB, free: 268 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.09159, allocations: 111.2 kB / 414 MB, free: 156 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.09199, allocations: 0.4914 MB / 414.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.09306, allocations: 1.277 MB / 415.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.09307, allocations: 0 / 415.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.09308, allocations: 0 / 415.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.09309, allocations: 3.938 kB / 415.8 MB, free: 14.37 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.003724/0.09682, allocations: 1.462 MB / 417.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.09686, allocations: 12.02 kB / 417.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.09697, allocations: 122.6 kB / 417.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/0.09748, allocations: 147.7 kB / 417.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.09835, allocations: 0.6413 MB / 418.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.0984, allocations: 54.12 kB / 418.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.09849, allocations: 72 kB / 418.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/0.09949, allocations: 0.7554 MB / 419.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.09951, allocations: 0 / 419.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.09957, allocations: 32 kB / 419.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.09959, allocations: 16 kB / 419.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.1005, allocations: 0.6792 MB / 419.8 MB, free: 10.24 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.003873/0.1044, allocations: 4.779 MB / 424.6 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.1059, allocations: 0.9517 MB / 425.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.1063, allocations: 282.7 kB / 425.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.1063, allocations: 8.656 kB / 425.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1063, allocations: 47.22 kB / 425.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 1.453e-06/0.1064, allocations: 0 / 425.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004451/0.1108, allocations: 1.646 MB / 427.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1108, allocations: 68.06 kB / 427.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.1113, allocations: 0.499 MB / 428.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.1114, allocations: 41.7 kB / 428.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.1116, allocations: 351.9 kB / 428.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.1118, allocations: 268.1 kB / 428.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.1119, allocations: 61.69 kB / 428.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.112, allocations: 382.7 kB / 429.1 MB, free: 244 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.1123, allocations: 205.9 kB / 429.3 MB, free: 36 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1062/0.2185, allocations: 344.9 kB / 429.7 MB, free: 36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.2193, allocations: 0.6014 MB / 430.3 MB, free: 35.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2193, allocations: 1.844 kB / 430.3 MB, free: 35.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001677/0.221, allocations: 0.9657 MB / 431.2 MB, free: 35.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.221, allocations: 6.25 kB / 431.3 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.221, allocations: 5.328 kB / 431.3 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.222, allocations: 305.9 kB / 431.6 MB, free: 35.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.2226, allocations: 163.6 kB / 431.7 MB, free: 35.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.2263, allocations: 3.078 MB / 434.8 MB, free: 34.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.2268, allocations: 54.66 kB / 434.8 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.2268, allocations: 26.92 kB / 434.9 MB, free: 34.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0002311/0.2271, allocations: 234.2 kB / 435.1 MB, free: 34.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.2272, allocations: 74.45 kB / 435.2 MB, free: 34.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.2287, allocations: 0.8911 MB / 436.1 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2287, allocations: 13.31 kB / 436.1 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2287, allocations: 0 / 436.1 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.2288, allocations: 4.891 kB / 436.1 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.231, allocations: 1.82 MB / 437.9 MB, free: 32.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2311, allocations: 2.812 kB / 437.9 MB, free: 32.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.2315, allocations: 125.5 kB / 438 MB, free: 32.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009037/0.2324, allocations: 299 kB / 438.3 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.2325, allocations: 11.31 kB / 438.3 MB, free: 32.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/0.2357, allocations: 2.997 MB / 441.3 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2357, allocations: 448 / 441.3 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.2372, allocations: 0.9497 MB / 442.3 MB, free: 30.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.2374, allocations: 206.3 kB / 442.5 MB, free: 29.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/0.2375, allocations: 11.33 kB / 442.5 MB, free: 29.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2379, allocations: 36.75 kB / 442.5 MB, free: 29.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.238, allocations: 57.28 kB / 442.6 MB, free: 29.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.238, allocations: 16.5 kB / 442.6 MB, free: 29.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.2383, allocations: 351.2 kB / 442.9 MB, free: 29.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2383, allocations: 0 / 442.9 MB, free: 29.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006582/0.239, allocations: 300.5 kB / 443.2 MB, free: 29.6 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.001681/0.2407, allocations: 1.56 MB / 444.8 MB, free: 28.57 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.00118/0.2419, allocations: 0.8587 MB / 445.7 MB, free: 28.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2419, allocations: 0 / 445.7 MB, free: 28.16 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.0007238/0.2426, allocations: 0.5719 MB / 446.2 MB, free: 27.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.2431, allocations: 84.7 kB / 446.3 MB, free: 27.82 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.006926/0.25, allocations: 6.35 MB / 452.7 MB, free: 24.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.2503, allocations: 0.9448 MB / 453.6 MB, free: 23.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.2506, allocations: 75.3 kB / 453.7 MB, free: 23.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.2508, allocations: 253.5 kB / 453.9 MB, free: 23.1 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2508, allocations: 0 / 453.9 MB, free: 23.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.862/3.112, allocations: 16.74 MB / 470.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/3.113, allocations: 231.9 kB / 470.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/4.966, allocations: 7.938 kB / 470.9 MB, free: 7.883 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches