Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.001349/0.001349, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001572/0.001572, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.426/1.426, allocations: 207.6 MB / 233 MB, free: 9.984 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.06803/0.06803, allocations: 14.39 MB / 299.7 MB, free: 7.535 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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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.002165/0.002165, allocations: 71.89 kB / 420.6 MB, free: 39.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07752/0.07968, allocations: 52.9 MB / 473.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.008611/0.0883, allocations: 7.318 MB / 480.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006082/0.09438, allocations: 3.572 MB / 484.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.09492, allocations: 27.88 kB / 484.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009766/0.09589, allocations: 409.6 kB / 484.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.09977, allocations: 1.622 MB / 486.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.101, allocations: 0.5916 MB / 487.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.1034, allocations: 1.848 MB / 488.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1037, allocations: 70.42 kB / 489 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009794/0.1047, allocations: 0.6421 MB / 489.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008989/0.1055, allocations: 0.6381 MB / 490.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1057, allocations: 64 kB / 490.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009579/0.1066, allocations: 423.7 kB / 490.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.1068, allocations: 163.2 kB / 490.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.1073, allocations: 0.5403 MB / 491.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.1093, allocations: 1.518 MB / 493 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1093, allocations: 0 / 493 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1093, allocations: 4 kB / 493 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1093, allocations: 0 / 493 MB, free: 14.79 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005384/0.1147, allocations: 1.689 MB / 494.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1147, allocations: 11.97 kB / 494.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.1149, allocations: 126.8 kB / 494.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006008/0.1155, allocations: 152.2 kB / 494.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.1168, allocations: 0.6207 MB / 495.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.1168, allocations: 62.12 kB / 495.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/0.1169, allocations: 72 kB / 495.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.1182, allocations: 0.7654 MB / 496.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.1182, allocations: 3.984 kB / 496.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.1183, allocations: 32 kB / 496.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.1183, allocations: 20 kB / 496.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.1195, allocations: 0.7065 MB / 497.2 MB, free: 10.43 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.00654/0.126, allocations: 5.023 MB / 0.4905 GB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.1276, allocations: 0.7457 MB / 0.4912 GB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/0.1281, allocations: 270.7 kB / 0.4915 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.1281, allocations: 8.656 kB / 0.4915 GB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1281, allocations: 39.22 kB / 0.4915 GB, free: 3.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.535e-06/0.1281, allocations: 3.938 kB / 0.4915 GB, free: 3.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003018/0.1312, allocations: 1.158 MB / 0.4926 GB, free: 2.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1312, allocations: 64 kB / 0.4927 GB, free: 2.566 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008828/0.1321, allocations: 0.554 MB / 0.4932 GB, free: 2.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.1322, allocations: 37.7 kB / 0.4933 GB, free: 1.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.1325, allocations: 372.7 kB / 0.4936 GB, free: 1.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.1328, allocations: 285.5 kB / 0.4939 GB, free: 1.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.133, allocations: 134.6 kB / 0.494 GB, free: 1.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.1332, allocations: 378.8 kB / 0.4944 GB, free: 0.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.1336, allocations: 217.9 kB / 0.4946 GB, free: 0.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.134, allocations: 328.3 kB / 0.4949 GB, free: 228 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.135, allocations: 0.5898 MB / 0.4955 GB, free: 15.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.135, allocations: 0 / 0.4955 GB, free: 15.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001646/0.1367, allocations: 0.8607 MB / 0.4963 GB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1367, allocations: 4 kB / 0.4963 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1367, allocations: 4 kB / 0.4963 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.1373, allocations: 188.9 kB / 0.4965 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.1382, allocations: 199.8 kB / 0.4967 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.1417, allocations: 2.436 MB / 0.4991 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.1424, allocations: 47.73 kB / 0.4991 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.1425, allocations: 28 kB / 0.4992 GB, free: 11.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003859/0.1428, allocations: 226.2 kB / 0.4994 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.143, allocations: 79.53 kB / 0.4994 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.1445, allocations: 0.7907 MB / 0.5002 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1445, allocations: 8 kB / 0.5002 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1445, allocations: 4 kB / 0.5002 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.1445, allocations: 3.984 kB / 0.5002 GB, free: 10.59 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.002807/0.1473, allocations: 1.818 MB / 0.502 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1473, allocations: 0 / 0.502 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.148, allocations: 163.8 kB / 0.5022 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005915/0.1486, allocations: 180.2 kB / 0.5023 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.1487, allocations: 12 kB / 0.5023 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.1519, allocations: 2.413 MB / 0.5047 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1519, allocations: 0 / 0.5047 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.1534, allocations: 0.8669 MB / 0.5056 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.1538, allocations: 147.4 kB / 0.5057 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/0.1539, allocations: 16 kB / 0.5057 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.1544, allocations: 19.98 kB / 0.5057 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.1545, allocations: 56.5 kB / 0.5058 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.1545, allocations: 19.98 kB / 0.5058 GB, free: 4.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005259/0.1551, allocations: 386.8 kB / 0.5062 GB, free: 4.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1551, allocations: 0 / 0.5062 GB, free: 4.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008986/0.156, allocations: 307.8 kB / 0.5065 GB, free: 3.996 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 (63): * Single equations (assignments): 62 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001913/0.1579, allocations: 1.469 MB / 0.5079 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.1594, allocations: 0.7758 MB / 0.5087 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1594, allocations: 0 / 0.5087 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008206/0.1602, allocations: 0.4903 MB / 0.5091 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/0.1609, allocations: 119.6 kB / 0.5092 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009197/0.1701, allocations: 5.828 MB / 0.5149 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.1707, allocations: 0.9388 MB / 0.5159 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.1711, allocations: 89.31 kB / 0.5159 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.1716, allocations: 271.3 kB / 0.5162 GB, free: 9.797 MB / 398.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1716, allocations: 4 kB / 0.5162 GB, free: 9.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2415/0.4131, allocations: 18.19 MB / 0.534 GB, free: 59.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.14, allocations: 8.219 kB / 0.534 GB, free: 59.9 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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: 15.729698108974844]