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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002/0.002, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.1033/0.1033, allocations: 14.4 MB / 296.8 MB, free: 1.891 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 67.91 kB / 416.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2685, allocations: 52.87 MB / 469 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.008523/0.277, allocations: 7.186 MB / 476.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006475/0.2835, allocations: 3.546 MB / 479.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.2846, allocations: 19.88 kB / 479.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2859, allocations: 405.7 kB / 480.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.2903, allocations: 1.594 MB / 481.8 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.2916, allocations: 0.6031 MB / 482.4 MB, free: 404 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.2947, allocations: 1.817 MB / 484.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.295, allocations: 66.27 kB / 484.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.2962, allocations: 0.6304 MB / 484.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2973, allocations: 0.6264 MB / 485.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.2974, allocations: 64 kB / 485.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.2986, allocations: 431.6 kB / 486 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.2988, allocations: 155.3 kB / 486.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.2995, allocations: 0.5364 MB / 486.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.302, allocations: 1.489 MB / 488.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3021, allocations: 0 / 488.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3021, allocations: 0 / 488.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.3021, allocations: 0 / 488.2 MB, free: 10.56 MB / 350.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.005519/0.3076, allocations: 1.725 MB / 489.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3076, allocations: 12.03 kB / 489.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.152e-05/0.3077, allocations: 18.19 kB / 489.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.3078, allocations: 118.7 kB / 490 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.3085, allocations: 152.3 kB / 490.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.3098, allocations: 0.6888 MB / 490.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.3099, allocations: 53.94 kB / 490.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.31, allocations: 72 kB / 491 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.3112, allocations: 0.7554 MB / 491.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3113, allocations: 3.938 kB / 491.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.3113, allocations: 39.98 kB / 491.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3113, allocations: 16 kB / 491.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3125, allocations: 0.6675 MB / 492.5 MB, free: 6.098 MB / 350.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.006976/0.3195, allocations: 5.198 MB / 497.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.3212, allocations: 0.9022 MB / 498.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.3216, allocations: 250.7 kB / 498.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.3217, allocations: 8.656 kB / 498.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3217, allocations: 39.22 kB / 498.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.364e-06/0.3217, allocations: 0 / 498.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005307/0.327, allocations: 1.633 MB / 0.4888 GB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3271, allocations: 60.06 kB / 0.4888 GB, free: 13.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/0.3279, allocations: 0.5615 MB / 0.4894 GB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.328, allocations: 37.7 kB / 0.4894 GB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.3283, allocations: 364.7 kB / 0.4898 GB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3286, allocations: 285.4 kB / 0.49 GB, free: 12.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.3288, allocations: 130.6 kB / 0.4902 GB, free: 12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.329, allocations: 382.7 kB / 0.4905 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.3294, allocations: 209.9 kB / 0.4907 GB, free: 11.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.3299, allocations: 343.8 kB / 0.491 GB, free: 11.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.3308, allocations: 0.6009 MB / 0.4916 GB, free: 10.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3308, allocations: 3.938 kB / 0.4916 GB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002124/0.3329, allocations: 0.947 MB / 0.4926 GB, free: 9.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3329, allocations: 8 kB / 0.4926 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3329, allocations: 4.375 kB / 0.4926 GB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.3342, allocations: 317.4 kB / 0.4929 GB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/0.3349, allocations: 163.8 kB / 0.493 GB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/0.3406, allocations: 3.391 MB / 0.4963 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.3414, allocations: 47.73 kB / 0.4964 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.3415, allocations: 24 kB / 0.4964 GB, free: 5.348 MB / 366.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.000381/0.3418, allocations: 233.6 kB / 0.4966 GB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.342, allocations: 83.53 kB / 0.4967 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.344, allocations: 0.8763 MB / 0.4976 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.344, allocations: 8 kB / 0.4976 GB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.344, allocations: 0 / 0.4976 GB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3441, allocations: 3.984 kB / 0.4976 GB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/0.3474, allocations: 1.924 MB / 0.4995 GB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3475, allocations: 0 / 0.4995 GB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.348, allocations: 127.9 kB / 0.4996 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.3492, allocations: 293 kB / 0.4999 GB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.3493, allocations: 16 kB / 0.4999 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005219/0.3545, allocations: 3.283 MB / 0.5031 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3545, allocations: 4 kB / 0.5031 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.3565, allocations: 0.9408 MB / 0.504 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.3569, allocations: 232.4 kB / 0.5042 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.357, allocations: 19.88 kB / 0.5042 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/0.3576, allocations: 23.94 kB / 0.5043 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3577, allocations: 56.58 kB / 0.5043 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.3577, allocations: 16 kB / 0.5043 GB, free: 12.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006093/0.3583, allocations: 398.8 kB / 0.5047 GB, free: 12.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3583, allocations: 0 / 0.5047 GB, free: 12.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001016/0.3593, allocations: 331.8 kB / 0.505 GB, free: 12.23 MB / 382.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.002377/0.3617, allocations: 1.555 MB / 0.5066 GB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.3634, allocations: 0.8256 MB / 0.5074 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3634, allocations: 0 / 0.5074 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3644, allocations: 0.5517 MB / 0.5079 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.3652, allocations: 117.3 kB / 0.508 GB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.3755, allocations: 6.081 MB / 0.514 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.3762, allocations: 0.9467 MB / 0.5149 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.3766, allocations: 85.31 kB / 0.515 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.377, allocations: 259.3 kB / 0.5152 GB, free: 1.562 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.377, allocations: 0 / 0.5152 GB, free: 1.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0535/0.4305, allocations: 20.27 MB / 0.535 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.65, allocations: 0 / 0.535 GB, free: 13.27 MB / 414.1 MB " [Timeout remaining time 646] (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 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.344319699972402]