Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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.001925/0.001925, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002203/0.002203, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.498/1.498, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.0683/0.0683, allocations: 14.4 MB / 296.8 MB, free: 1.883 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.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",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.00252/0.00252, allocations: 67.89 kB / 416.2 MB, free: 8.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2677, allocations: 52.87 MB / 469 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.007129/0.2748, allocations: 5.512 MB / 474.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.2799, allocations: 2.974 MB / 477.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/0.2805, allocations: 15.88 kB / 477.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008527/0.2814, allocations: 274.4 kB / 477.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.2844, allocations: 1.212 MB / 479 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.2855, allocations: 494 kB / 479.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.2874, allocations: 1.41 MB / 480.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2876, allocations: 53.56 kB / 481 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.2882, allocations: 0.5101 MB / 481.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.2889, allocations: 0.5448 MB / 482 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.2891, allocations: 76 kB / 482.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.2897, allocations: 315.8 kB / 482.4 MB, free: 236 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.2899, allocations: 183.3 kB / 482.6 MB, free: 52 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.2903, allocations: 457.8 kB / 483 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.2919, allocations: 1.181 MB / 484.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2919, allocations: 0 / 484.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2919, allocations: 0 / 484.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.2919, allocations: 0 / 484.2 MB, free: 14.42 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003893/0.2958, allocations: 1.398 MB / 485.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2958, allocations: 8.031 kB / 485.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.277e-05/0.2958, allocations: 13.19 kB / 485.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.296, allocations: 82.7 kB / 485.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.2963, allocations: 108.4 kB / 485.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.2974, allocations: 0.564 MB / 486.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.2975, allocations: 45.12 kB / 486.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2976, allocations: 63.95 kB / 486.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/0.2984, allocations: 490 kB / 487 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2985, allocations: 0 / 487 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.2985, allocations: 23.94 kB / 487 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.2985, allocations: 8 kB / 487 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.2995, allocations: 487.7 kB / 487.5 MB, free: 11.04 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.005609/0.3051, allocations: 3.067 MB / 490.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.3065, allocations: 0.7338 MB / 491.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.3069, allocations: 210.5 kB / 491.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.307, allocations: 12.53 kB / 491.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.307, allocations: 47.06 kB / 491.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.455e-06/0.307, allocations: 0 / 491.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=62): time 0.004126/0.3111, allocations: 1.273 MB / 492.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3112, allocations: 55.97 kB / 492.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.312, allocations: 0.5301 MB / 493.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.312, allocations: 41.7 kB / 493.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.3122, allocations: 261.5 kB / 493.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.3125, allocations: 233.9 kB / 493.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.3128, allocations: 178.6 kB / 494.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.3131, allocations: 374.8 kB / 494.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.3137, allocations: 317.9 kB / 494.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.3144, allocations: 393.4 kB / 495.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3155, allocations: 0.6435 MB / 495.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3155, allocations: 3.938 kB / 495.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003302/0.3188, allocations: 1.268 MB / 497.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3188, allocations: 8 kB / 497.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3189, allocations: 3.938 kB / 497.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/0.3216, allocations: 0.6145 MB / 497.7 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/0.3226, allocations: 219.7 kB / 497.9 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.3354, allocations: 11.53 MB / 0.4975 GB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.3365, allocations: 83.39 kB / 0.4976 GB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.3366, allocations: 32 kB / 0.4976 GB, free: 3.465 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,12), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.337, allocations: 193.7 kB / 0.4978 GB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3371, allocations: 71.5 kB / 0.4978 GB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.3389, allocations: 0.7596 MB / 0.4986 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3389, allocations: 4 kB / 0.4986 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3389, allocations: 4 kB / 0.4986 GB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3389, allocations: 7.922 kB / 0.4986 GB, free: 2.406 MB / 366.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.002725/0.3417, allocations: 1.61 MB / 0.5002 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3417, allocations: 0 / 0.5002 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.3423, allocations: 131.9 kB / 0.5003 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00092/0.3433, allocations: 252.1 kB / 0.5005 GB, free: 348 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.3433, allocations: 12 kB / 0.5006 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/0.3473, allocations: 2.606 MB / 0.5031 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3473, allocations: 4 kB / 0.5031 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.3495, allocations: 1.094 MB / 0.5042 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.3498, allocations: 208.5 kB / 0.5044 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.3499, allocations: 8 kB / 0.5044 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.3503, allocations: 23.94 kB / 0.5044 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3504, allocations: 48.44 kB / 0.5044 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.3505, allocations: 16 kB / 0.5045 GB, free: 12.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004843/0.351, allocations: 362.8 kB / 0.5048 GB, free: 11.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.351, allocations: 0 / 0.5048 GB, free: 11.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001023/0.352, allocations: 279.9 kB / 0.5051 GB, free: 11.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * 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 (47): * Single equations (assignments): 46 * 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 {(6,12,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002588/0.3546, allocations: 1.7 MB / 0.5067 GB, free: 9.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003148/0.3577, allocations: 1.627 MB / 0.5083 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3577, allocations: 0 / 0.5083 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.3588, allocations: 0.4975 MB / 0.5088 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/0.3595, allocations: 98.66 kB / 0.5089 GB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.3722, allocations: 6.827 MB / 0.5156 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.3728, allocations: 0.8994 MB / 0.5165 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.3731, allocations: 68.84 kB / 0.5165 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.3735, allocations: 223.4 kB / 0.5167 GB, free: 15.29 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3735, allocations: 0 / 0.5167 GB, free: 15.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06081/0.4343, allocations: 18.35 MB / 0.5346 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.18, allocations: 15.94 kB / 0.5347 GB, free: 12.88 MB / 414.1 MB " [Timeout remaining time 645] (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings_fmu --startTime=0 --stopTime=40 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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: 18.088117711013183]