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.0008001/0.0008001, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007903/0.0007903, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8276/0.8276, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.03693/0.03693, allocations: 10.66 MB / 247.1 MB, free: 4.715 MB / 234.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 368.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.527e-05, allocations: 6.219 kB / 368.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.004489/0.004515, allocations: 4.917 MB / 373 MB, free: 1.418 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.008029, allocations: 2.753 MB / 375.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.008456, allocations: 11.94 kB / 375.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006279/0.009084, allocations: 266 kB / 376.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.01102, allocations: 1.175 MB / 377.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.01174, allocations: 466.6 kB / 377.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.01319, allocations: 1.508 MB / 379.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.01338, allocations: 49.89 kB / 379.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.01451, allocations: 0.7289 MB / 380 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.01519, allocations: 450.7 kB / 380.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.806e-05/0.01529, allocations: 76 kB / 380.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000632/0.01592, allocations: 307.6 kB / 380.8 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.01602, allocations: 179.3 kB / 381 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.0163, allocations: 339.1 kB / 381.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.01753, allocations: 1.223 MB / 382.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.01753, allocations: 0 / 382.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.01753, allocations: 7.938 kB / 382.5 MB, free: 7.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.01754, allocations: 0 / 382.5 MB, free: 7.898 MB / 314.7 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.00214/0.01968, allocations: 1.299 MB / 383.8 MB, free: 6.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.01973, allocations: 12.03 kB / 383.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.109e-05/0.0198, allocations: 82.7 kB / 383.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.02002, allocations: 108.4 kB / 384 MB, free: 6.352 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.02073, allocations: 0.5016 MB / 384.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.02076, allocations: 49.31 kB / 384.6 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.02084, allocations: 68.31 kB / 384.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.02151, allocations: 478.4 kB / 385.1 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.02152, allocations: 4 kB / 385.1 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.02155, allocations: 20 kB / 385.1 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.02156, allocations: 15.94 kB / 385.1 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.02212, allocations: 483.7 kB / 385.6 MB, free: 4.723 MB / 314.7 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.002712/0.02483, allocations: 1.813 MB / 387.4 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.02564, allocations: 0.5004 MB / 387.9 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.02589, allocations: 210.3 kB / 388.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.02593, allocations: 12.5 kB / 388.1 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.02597, allocations: 39 kB / 388.2 MB, free: 2.082 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 3.136e-06/0.02597, allocations: 0 / 388.2 MB, free: 2.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=62): time 0.002492/0.02846, allocations: 1.192 MB / 389.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.0285, allocations: 63.89 kB / 389.4 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.02895, allocations: 0.53 MB / 390 MB, free: 272 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.02899, allocations: 41.7 kB / 390 MB, free: 224 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.02916, allocations: 261.7 kB / 390.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.0293, allocations: 241.9 kB / 390.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.02947, allocations: 174.6 kB / 390.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.02959, allocations: 374.8 kB / 391 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.02995, allocations: 317.9 kB / 391.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.03035, allocations: 397.4 kB / 391.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/0.03108, allocations: 0.6355 MB / 392.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.03108, allocations: 4 kB / 392.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001736/0.03282, allocations: 1.26 MB / 393.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.03284, allocations: 8 kB / 393.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.03285, allocations: 0 / 393.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.03418, allocations: 0.6223 MB / 394.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.03464, allocations: 215.7 kB / 394.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007266/0.04191, allocations: 10.72 MB / 405.2 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.04246, allocations: 83.36 kB / 405.3 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.04249, allocations: 35.98 kB / 405.3 MB, free: 24 kB / 330.7 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.0002672/0.04276, allocations: 189.7 kB / 405.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.04286, allocations: 71.58 kB / 405.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.04381, allocations: 0.7619 MB / 406.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.04382, allocations: 8 kB / 406.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.04382, allocations: 0 / 406.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.04383, allocations: 7.984 kB / 406.3 MB, free: 14.97 MB / 346.7 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.001525/0.04535, allocations: 1.351 MB / 407.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.04536, allocations: 0 / 407.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.04568, allocations: 139.8 kB / 407.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/0.04616, allocations: 243 kB / 408.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.04619, allocations: 12 kB / 408.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.04862, allocations: 2.455 MB / 410.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.04862, allocations: 3.938 kB / 410.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.0498, allocations: 1.097 MB / 411.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.04998, allocations: 127.4 kB / 411.8 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.05003, allocations: 12 kB / 411.8 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.05024, allocations: 19.98 kB / 411.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.541e-05/0.05034, allocations: 44.56 kB / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.05035, allocations: 16 kB / 411.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.05066, allocations: 362.8 kB / 412.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05066, allocations: 0 / 412.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007495/0.0514, allocations: 283.8 kB / 412.5 MB, free: 8.641 MB / 346.7 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.001549/0.05295, allocations: 1.703 MB / 414.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.0546, allocations: 1.617 MB / 415.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0546, allocations: 0 / 415.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.05514, allocations: 0.4981 MB / 416.3 MB, free: 4.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.05558, allocations: 113.8 kB / 416.4 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/0.06311, allocations: 6.694 MB / 423.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.06332, allocations: 305.7 kB / 423.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.06352, allocations: 64.86 kB / 423.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.06374, allocations: 224.4 kB / 423.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.283e-06/0.06375, allocations: 4 kB / 423.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/0.2191, allocations: 19.64 MB / 443.3 MB, free: 69.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.832, allocations: 3.25 kB / 443.3 MB, free: 69.98 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat","/var/lib/jenkins/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: 9.616101273335516]