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.001823/0.001823, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.00231/0.00231, allocations: 219.5 kB / 22.26 MB, free: 5.219 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.502/1.502, allocations: 207.6 MB / 233 MB, free: 10 MB / 190.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.0735/0.0735, allocations: 14.39 MB / 299.7 MB, free: 7.438 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="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: 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.002473/0.002473, allocations: 73.61 kB / 420.6 MB, free: 39.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08697, allocations: 52.9 MB / 473.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.007358/0.09433, allocations: 5.53 MB / 479.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.09979, allocations: 2.99 MB / 482.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006278/0.1004, allocations: 11.94 kB / 482.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1014, allocations: 278.3 kB / 482.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.1047, allocations: 1.207 MB / 483.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1059, allocations: 494.1 kB / 484 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002604/0.1085, allocations: 1.418 MB / 485.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.1087, allocations: 57.89 kB / 485.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.1098, allocations: 0.5139 MB / 486 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.111, allocations: 0.537 MB / 486.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.1112, allocations: 76 kB / 486.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.1122, allocations: 319.8 kB / 486.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.1125, allocations: 183.2 kB / 487.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.1133, allocations: 453.9 kB / 487.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.1155, allocations: 1.179 MB / 488.7 MB, free: 3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1155, allocations: 8 kB / 488.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1155, allocations: 0 / 488.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.042e-05/0.1156, allocations: 0 / 488.7 MB, free: 2.992 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.005008/0.1206, allocations: 1.311 MB / 490.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1207, allocations: 12.03 kB / 490.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.1208, allocations: 82.7 kB / 490.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00052/0.1213, allocations: 112.4 kB / 490.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.1228, allocations: 0.5023 MB / 490.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.1229, allocations: 41.38 kB / 490.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.123, allocations: 67.89 kB / 490.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.1241, allocations: 486 kB / 491.3 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1241, allocations: 4 kB / 491.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.1241, allocations: 16 kB / 491.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.1242, allocations: 12 kB / 491.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.1252, allocations: 491.7 kB / 491.9 MB, free: 15.8 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 preOpt removeSimpleEquations (simulation): time 0.006473/0.1317, allocations: 3.036 MB / 494.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.133, allocations: 0.5114 MB / 495.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/0.1334, allocations: 210.3 kB / 495.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/0.1334, allocations: 4.5 kB / 495.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1335, allocations: 39.06 kB / 495.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.916e-06/0.1335, allocations: 0 / 495.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.004116/0.1376, allocations: 1.192 MB / 496.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1376, allocations: 55.91 kB / 496.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.1385, allocations: 0.5378 MB / 497.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.1386, allocations: 41.7 kB / 497.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.1388, allocations: 257.5 kB / 497.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.1391, allocations: 241.9 kB / 498 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.1394, allocations: 178.6 kB / 498.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1396, allocations: 370.8 kB / 498.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.1402, allocations: 317.9 kB / 498.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/0.1409, allocations: 401.3 kB / 499.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.142, allocations: 0.6355 MB / 499.8 MB, free: 7.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.142, allocations: 0 / 499.8 MB, free: 7.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003412/0.1454, allocations: 1.279 MB / 0.4894 GB, free: 6.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.1454, allocations: 10.03 kB / 0.4894 GB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1454, allocations: 0 / 0.4894 GB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/0.1483, allocations: 0.6184 MB / 0.49 GB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/0.1493, allocations: 219.7 kB / 0.4902 GB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/0.1627, allocations: 10.8 MB / 0.5007 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009354/0.1636, allocations: 87.34 kB / 0.5008 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.1637, allocations: 28 kB / 0.5009 GB, free: 9.547 MB / 382.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.0003923/0.1641, allocations: 197.6 kB / 0.501 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.1644, allocations: 71.52 kB / 0.5011 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.1661, allocations: 0.758 MB / 0.5019 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1661, allocations: 8 kB / 0.5019 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1661, allocations: 4 kB / 0.5019 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.1662, allocations: 7.922 kB / 0.5019 GB, free: 8.488 MB / 382.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.003013/0.1692, allocations: 1.572 MB / 0.5034 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.1692, allocations: 3.984 kB / 0.5034 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/0.1699, allocations: 135.9 kB / 0.5035 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/0.1708, allocations: 246.7 kB / 0.5038 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.1708, allocations: 12 kB / 0.5038 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.1748, allocations: 2.514 MB / 0.5062 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1748, allocations: 4 kB / 0.5062 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.177, allocations: 1.108 MB / 0.5073 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.1774, allocations: 127.4 kB / 0.5075 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.1775, allocations: 8 kB / 0.5075 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.178, allocations: 16 kB / 0.5075 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.1781, allocations: 48.56 kB / 0.5075 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1781, allocations: 19.98 kB / 0.5075 GB, free: 2.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004781/0.1786, allocations: 354.9 kB / 0.5079 GB, free: 2.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1786, allocations: 0 / 0.5079 GB, free: 2.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009285/0.1795, allocations: 283.9 kB / 0.5081 GB, free: 1.855 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.002642/0.1822, allocations: 1.695 MB / 0.5098 GB, free: 128 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00313/0.1853, allocations: 1.625 MB / 0.5114 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1853, allocations: 0 / 0.5114 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.1864, allocations: 0.4942 MB / 0.5119 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.1871, allocations: 107.1 kB / 0.512 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.2007, allocations: 6.83 MB / 0.5186 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.2014, allocations: 0.9032 MB / 0.5195 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.2017, allocations: 64.86 kB / 0.5196 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.2021, allocations: 223.4 kB / 0.5198 GB, free: 5.621 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2021, allocations: 0 / 0.5198 GB, free: 5.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3069/0.5089, allocations: 18.8 MB / 0.5382 GB, free: 56.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.52, allocations: 15.44 kB / 0.5382 GB, free: 56.46 MB / 398.1 MB " [Timeout remaining time 644] (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.515277775004506]